Difference between revisions of "Awk"
From Vague Hope Wiki
(Created page with " awk -F'"' '{print $3}' awk '{print $4 "|" $5}' awk 'BEGIN { FS = "|" } ; { print $10 }' awk '{total += $1; count++} END { print total/count } END {print count}' awk -F'|'...") |
(No difference)
|
Revision as of 06:27, 15 February 2016
awk -F'"' '{print $3}' awk '{print $4 "|" $5}' awk 'BEGIN { FS = "|" } ; { print $10 }' awk '{total += $1; count++} END { print total/count } END {print count}' awk -F'|' '{printf "%s,%s\n", $1,$12}' awk -F, '{print ((substr($1,15,2) * 60) + substr($1,18,2)) "," $2}' awk '{sub(/\/$/, "") ; print $1}'