Re: man page for cut
Hi Richmond!
On Wed, 17 Jan 2024, Richmond wrote:
> In the man page for cut it says:
>
> -b, --bytes=LIST
> select only these bytes
>
> But there is no equals sign in the actual syntax:
>
> echo hello|cut -b 2-5
> ello
>
> echo hello|cut -b=2-5
> cut: invalid byte/character position ‘=2-5’
> Try 'cut --help' for more information.
>
> Why is this?
because it has to be
echo hello | cut --bytes=2-5
best regards, Hanno Wagner
--
| Hanno Wagner | Member of the HTML Writers Guild | Rince@IRC |
| Eine gewerbliche Nutzung meiner Email-Adressen ist nicht gestattet! |
| 74 a3 53 cc 0b 19 - we did it! | Generation @ |
#"Wie schreibt man SunOS?" "SunOS. Wie man es spricht. Mit grossem SOS."
# -- gewidmet Roland Kaltefleiter
Reply to: