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

Re: man page for cut



Richmond <dnomhcir@gmx.com> writes:

> 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?

The equals sign is used with the long-form option, not the short-form.


Reply to: