top | item 44794893 (no title) efrecon | 6 months ago Because awk understands "columns" better.echo '999 888' | awk '{print $2}'prints 888 discuss order hn newest cluckindan|6 months ago How is that different from echo '999 888' | cut -f2 -d " " except for the default delimiter being space for awk? Eduard|6 months ago echo '999 888' | cut -f2 -d " " # notice two consecutive spaces returns NULL. load replies (2) bregma|6 months ago How can it be "better" when it is exactly the same?
cluckindan|6 months ago How is that different from echo '999 888' | cut -f2 -d " " except for the default delimiter being space for awk? Eduard|6 months ago echo '999 888' | cut -f2 -d " " # notice two consecutive spaces returns NULL. load replies (2)
Eduard|6 months ago echo '999 888' | cut -f2 -d " " # notice two consecutive spaces returns NULL. load replies (2)
cluckindan|6 months ago
Eduard|6 months ago
bregma|6 months ago