--- Begin Message ---
Subject: |
cut: --output-delimiter ignored in combination with -c |
Date: |
Thu, 1 Sep 2011 20:33:51 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Cut from older coreutils (at least until 7.1) honoured --output-delimiter in
combination with -c. Newer coreutils don't, i.e. with the older cut you get
$ echo 12 | cut --output-delimiter=X -c1,2
1X2
And with the newer ones
$ echo 12 | cut --output-delimiter=X -c1,2
12
Is this a regression or was this a deliberate change that wasn't documented?
Philipp
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#9420: cut: --output-delimiter ignored in combination with -c |
Date: |
Thu, 01 Sep 2011 19:46:48 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0 |
On 09/01/2011 07:33 PM, Philipp Thomas wrote:
>
> Cut from older coreutils (at least until 7.1) honoured --output-delimiter in
> combination with -c. Newer coreutils don't, i.e. with the older cut you get
>
> $ echo 12 | cut --output-delimiter=X -c1,2
> 1X2
>
> And with the newer ones
>
> $ echo 12 | cut --output-delimiter=X -c1,2
> 12
>
> Is this a regression or was this a deliberate change that wasn't documented?
Looks like a regression introduced with the i18n patch,
so I'm closing this here.
$ echo 12 | cut --output-delimiter=X -c1,2
12
$ echo 12 | LANG=C cut --output-delimiter=X -c1,2
1X2
cheers,
Pádraig.
--- End Message ---