[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12903: "cut -b 0-" is supposed to be invalid
From: |
Marcel Böhme |
Subject: |
bug#12903: "cut -b 0-" is supposed to be invalid |
Date: |
Fri, 16 Nov 2012 07:35:02 +0100 (CET) |
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-05-22?
See
*
http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=ae57
17158f1b9f31b986b0f4416582684039ec55 and
*
http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=a6a4
47fc58a01598682f0914f978d0a3c1cfc4dc
Best regards,
Marcel
- bug#12903: "cut -b 0-" is supposed to be invalid,
Marcel Böhme <=