= Number of Fields = The [[special variable]] NF holds the number of [[field]]s in the [[current record]]. === Last Record === The [[expression]] $NF is used to refer to the last [[field]] in the [[current record]]. The following [[script]] outputs the first and last [[field]] from each [[record]]: {{{ awk '{ print $1,$NF }' filename }}}
Summary:
This change is a minor edit.
Username: