2 ms·
Doesn't work, gets caught on leading spaces: echo ' 1 2 3 4' | tr -s " " | cut -f1 -d " " > echo ' 1 2 3 4' | awk '{print $1}' >1
by cma 16y ago
Doesn't work, gets caught on leading spaces:
echo ' 1 2 3 4' | tr -s " " | cut -f1 -d " "
>
echo ' 1 2 3 4' | awk '{print $1}'
>1