3 ms·
And leading whitespace. Compare: $ printf " one two three" | tr -s ' ' | cut -d ' ' -f 1 $ printf " one two three" | awk '{print $1}' one
by tyingq 5y ago
And leading whitespace. Compare:
$ printf " one two three" | tr -s ' ' | cut -d ' ' -f 1
$ printf " one two three" | awk '{print $1}'
one
- goohle 5y agops ax | sed 's/^\s\+//; s/\s\+/ /g;' | cut -d ' ' -f 4