4 ms·
IMO, it would be great if 'cut' could accept more than just a single character for delimiters. e.g. a regex or even a shell-style pattern match would be very u
by joosters 6y ago
IMO, it would be great if 'cut' could accept more than just a single character for delimiters.
e.g. a regex or even a shell-style pattern match would be very useful. `cut -d ' +' -f2` would get rid of the need for 'tr' in your example.
Even just allowing >1 char delimiters would be helpful. A text list like 'foo, bar, foobar' is too much for cut, but it would be fine if cut accepted parameters like `cut -d ', '`