Task-oriented command line recipes ยท no files stored on this domain
CliWorks

Column extraction and grouping without a spreadsheet.

awk

Second field, space separated

awk '{print $2}' access.log

Sum a column

awk '{s+=$3} END {print s}' sizes.txt

Group and total

awk '{c[$1]+=$2} END {for (k in c) print k, c[k]}' amounts.txt

Pick the biggest, not the first

ps -eo comm,rss | awk 'NR>1 && $2>m {m=$2; w=$1} END {print w, m}'
A field separator that is more than one character needs -F'\t' style notation, not -F'\t\t' as a literal two-character string.

Scope: awk