3 ms·
The default FS throws away leading blanks, though, which doesn't happen if you set it explicitly to \s+, so a tiny little bit of magic does go on after all.
by bewuethr 9y ago
The default FS throws away leading blanks, though, which doesn't happen if you set it explicitly to \s+, so a tiny little bit of magic does go on after all.
- cyphar 9y agoFair enough, though ultimately you could emulate it with sed: some-cmd | sed -E '{ s/^\s+//g ; s/\s+/ /g }' | cut -f$n