[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9252: a bug in cut
From: |
Danilo Moraes |
Subject: |
bug#9252: a bug in cut |
Date: |
Fri, 5 Aug 2011 12:39:14 -0300 |
I have found a little bug (i guess). See that:
a=danilo
echo $a | cut -c -5 # shows danil
a=dánilo
echo $a | cut -c 5 # shows dáni
The option -b equal works. The cut is ignoring the letters with acentuation.
I read in infopages this:
`-c CHARACTER-LIST'
`--characters=CHARACTER-LIST'
Select for printing only the characters in positions listed in
CHARACTER-LIST. The same as `-b' for now, but
internationalization will change that. Tabs and backspaces are
treated like any other character; they take up 1 character. If an
output delimiter is specified, (see the description of
`--output-delimiter'), then output that string between ranges of
selected bytes.
"The same as `-b' for now, but
internationalization will change that." this solves my problem? How it
works?
Thanks,
Danilo S. Morães
- bug#9252: a bug in cut,
Danilo Moraes <=