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

Re: A bug in cut?



No, you should use "cut -c 1 file", as you mean "a character",
not "a byte".

b


On Thu, 13 May 2004, Munzir Taha wrote:

> If I made a file with an Arabic letter in one line and an English letter in
> the
> next line.
> e.g.
>
> ا
> b
>
> cut -b 1 file
> will display a space before the English character. Is this a bug which should
> be reported to (bug-coreutils at gnu dot org)? ;)
>
>

--behdad
  behdad.org