Richmond 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/charact
Richmond wrote:
> echo hello|cut -b=2-5
> cut: invalid byte/character position ‘=2-5’
> Try 'cut --help' for more information.
>
> Why is this?
>
> (An example paints a thousand words).
$ echo hello|cut -b 2-5
ello
$ echo hello|cut --bytes=2-5
ello
-dsr-
On Wed, 2024-01-17 at 17:26 +, 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=
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
4 matches
Mail list logo