Build-in variables
- | - |
---|---|
$0 |
Whole line |
$1, $2...$NF |
First, second⦠last field |
NR |
N umber of R ecords |
NF |
N umber of F ields |
OFS |
O utput F ield S eparator (default " ") |
FS |
input F ield S eparator (default " ") |
ORS |
O utput R ecord S eparator (default "\n") |
RS |
input R ecord S eparator (default "\n") |
FILENAME |
Name of the file |
Comments