Re: man page for cut

2024-01-17 Thread Tom Furie
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

Re: man page for cut

2024-01-17 Thread Dan Ritter
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-

Re: man page for cut

2024-01-17 Thread Tixy
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=

man page for cut

2024-01-17 Thread Richmond
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