Repeated delimiters are interpreted as empty fields

suggest change
$ cut -d, -f1,3 <<<"a,,b,c,d,e"
a,b

is rather obvious, but with space-delimited strings it might be less obvious to some

$ cut -d ' ' -f1,3 <<<"a  b c d e"
a b

cut cannot be used to parse arguments as the shell and other programs do.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents