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