* Jim Meyering (j...@meyering.net) [20110901 21:35]:
> > $ echo 12 | cut --output-delimiter=X -c1,2
> > 12
> > $ echo 12 | LANG=C cut --output-delimiter=X -c1,2
> > 1X2
Found and fixed. The function called for the multibyte case simply had no
provision for an output delimiter. Simply copying and
Pádraig Brady wrote:
> 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
* Jim Meyering (j...@meyering.net) [20110901 20:42]:
> Same for the last few (8.8-8.12).
> Has your version been patched?
SUSE's coreutils carry a varying number of patches, as does Fedora/RH. Sorry
for the noise, I should have checked with vanilla coreutils. So it's
bisecting time again ...
Phi
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
>
> $ e
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
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 o