[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9420: cut: --output-delimiter ignored in combination with -c
From: |
Philipp Thomas |
Subject: |
bug#9420: cut: --output-delimiter ignored in combination with -c |
Date: |
Fri, 2 Sep 2011 16:45:26 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
* Jim Meyering (address@hidden) [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 modifying the relevant
parts of cut_byte did the trick and now the above works in all cases.
Philipp