bug#12903: "cut -b 0-" is supposed to be invalid

2012-11-16 Thread Marcel Böhme
Hi, The command "echo 12345 | cut -b 0-" prints an empty line while it should fail with "fields and positions are numbered from 1" according to this specification "cut: diagnose a range starting with 0 (-f 0-2) as invalid". Can you confirm this is an incomplete bugfix made on 2007

bug#12903: "cut -b 0-" is supposed to be invalid

2012-11-16 Thread Bernhard Voelker
Hi Marcel, On 11/16/2012 07:35 AM, Marcel Böhme wrote: >Hi, >The command "echo 12345 | cut -b 0-" prints an empty line while it >should fail with "fields and positions are numbered from 1" according >to this specification "cut: diagnose a range starting with 0 (-f 0-2) >as inva

bug#12903: "cut -b 0-" is supposed to be invalid

2012-11-16 Thread Jim Meyering
Bernhard Voelker wrote: > Hi Marcel, > > On 11/16/2012 07:35 AM, Marcel Böhme wrote: >>Hi, >>The command "echo 12345 | cut -b 0-" prints an empty line while it >>should fail with "fields and positions are numbered from 1" according >>to this specification "cut: diagnose a range sta

bug#12903: "cut -b 0-" is supposed to be invalid

2012-11-18 Thread Bernhard Voelker
On 11/16/2012 11:23 PM, Jim Meyering wrote: > Bernhard Voelker wrote: > >> Hi Marcel, >> >> On 11/16/2012 07:35 AM, Marcel Böhme wrote: >>>Hi, >>>The command "echo 12345 | cut -b 0-" prints an empty line while it >>>should fail with "fields and positions are numbered from 1" accordin

bug#12903: "cut -b 0-" is supposed to be invalid

2012-11-18 Thread Jim Meyering
Bernhard Voelker wrote: > On 11/16/2012 11:23 PM, Jim Meyering wrote: >> Bernhard Voelker wrote: >> >>> Hi Marcel, >>> >>> On 11/16/2012 07:35 AM, Marcel Böhme wrote: Hi, The command "echo 12345 | cut -b 0-" prints an empty line while it should fail with "fields and position

bug#12903: "cut -b 0-" is supposed to be invalid

2012-11-19 Thread Bernhard Voelker
On 11/19/2012 02:05 AM, Jim Meyering wrote: > You're welcome to push it. Thanks, pushed: http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commit;h=1482f730b47d1abad3d75199dde5237d9bf16a4a Marking as done. Have a nice day, Berny