← Command encyclopedia

awk

Pattern scanning (simulator supports '{print $N,...}' with -F).

Executable in the CoreQ simulator

Syntax

awk [-F SEP] '[/re/] {print $1, $3}' [FILE...]

Practise it now in the Linux sandbox. Type man awk there for a quick summary.

Related commands

cattacrevnlheadtailwcgrep