- -
{print $1} First field
$2 == "foo" Equals
$2 != "foo" Not equals
"foo" in array In array

#Regular expression

- -
/regex/ Line matches
!/regex/ Line not matches
$1 ~ /regex/ Field matches
$1 !~ /regex/ Field not matches

#More conditions

- -
($2 <= 4 || $3 < 20) Or
($1 == 4 && $3 < 20) And
Comments