bug-coreutils
[Top][All Lists]
Advanced

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

Re: Command CUT


From: Pádraig Brady
Subject: Re: Command CUT
Date: Fri, 01 Jun 2007 12:52:09 +0100
User-agent: Thunderbird 1.5.0.8 (X11/20061116)

André Nunes wrote:
> Hey man!!! how are you??
> 
> i don't understand the difference of command CUT with the parammeter "-b"
> and "-c".
> 
> Please, you can help me??
> 
> thank you very much!!


No difference at present in the official coreutils.
In future (or maybe specific to your distribution),
there is a difference in the presence of multi byte characters.

$ echo "Pádraig" | cut -b2 | hd
000000 c3 0a                                            >..<
000002

$ echo "Pádraig" | cut -c2 | hd
000000 c3 a1 0a                                         >...<
000003






reply via email to

[Prev in Thread] Current Thread [Next in Thread]