bookmark

Why does awk print the whole line when I want it to print a variable? - Unix & Linux Stack Exchange


Description

$n refers to the nth field: $1 for the first field, $2 for the second... or the whole record for n == 0 ($0 is the full record).

Preview

Tags

Users

  • @jil

Comments and Reviews