KellyPoima
New member
Which built-in variable is used by the awk to specify the line numbers?
A. AR
B. NR
C. $$
D. $?
A. AR
B. NR
C. $$
D. $?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
$ awk -F “|” ‘NR == 3, NR == 6 { print NR, $2, $4 }’ emp.lst