$ cut -d, -f1,3 <<<"a,,b,c,d,e"
is rather obvious, but with space-delimited strings it might be less obvious to some
$ cut -d ' ' -f1,3 <<<"a b c d e"
cut cannot be used to parse arguments as the shell and other programs do.
Get monthly updates about new articles, cheatsheets, and tricks.