[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12966: cut: Problems with overlapping, open-ended ranges
From: |
Marcel Böhme |
Subject: |
bug#12966: cut: Problems with overlapping, open-ended ranges |
Date: |
Fri, 23 Nov 2012 09:11:46 +0100 (CET) |
Hi,
I found two (semantically related) bugs. One seems to originate in the
first version. For research purposes, I would appreciate if you could
confirm that the second was introduced with Coreutils 5.3.0.
1) The following bug seems to exists "since the beginning".
$echo 1234567890 | ./cut -b 2-,3,4-4,5,9-
3590
$echo 1234567890 | ./cut -b 2-,3,4-4,5,9-10
234567890
$echo 1234567890 | ./cut -b 2-10,3,4-4,5,9-
234567890
2) Can you kindly confirm that the following bug has been introduced
with Coreutils 5.3.0, particularly commit
http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commit;h=7380cf79
2aa35b9328519c5f374036d5260704cb ?
$echo 1234567890 | ./cut -b 2-,3,4-4,5 --output-delimiter="."
2.34.567890
$echo 1234567890 | ./cut -b 2-10,3,4-4,5 --output-delimiter="."
234567890
Best regards,
Marcel