bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9420: cut: --output-delimiter ignored in combination with -c


From: Pádraig Brady
Subject: 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]