2 ms·
> awk '{print $3}' is the same as > cut -f3 -d' ' cut is amazing for what it does. and most people know only the subset of awk that effectively _is_ cut anyw
by ibotty 13y ago
> awk '{print $3}'
is the same as
> cut -f3 -d' '
cut is amazing for what it does. and most people know only the subset of awk that effectively _is_ cut anyway :D.
- toupeira 13y agoNot exactly, awk will consume all whitespace while cut will split on each individual space character, and not on newlines and tabs.