3 ms·
If i don't use awk, i throw tr -s ' ' into the pipeline, and then the delimiter is a single space, so you can just cut.
by twic 5y ago
If i don't use awk, i throw tr -s ' ' into the pipeline, and then the delimiter is a single space, so you can just cut.
- axiolite 5y agoThat will collapse multiple spaces, but won't handle a mix of spaces and tabs, which awk will handle.