Hoàng Diễm Quỳnh
New member
Which option is used for reading an awk program from a file?
A. -e
B. -f
C. -i
D. -F
A. -e
B. -f
C. -i
D. -F
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.
$ cat emp1.awk
$3== “director” || $6 > 6000 {
count=count+1
printf “%-20s %d\n”, $2, $6}
// commands written in emp1.awk are executed on emp.lst
$ awk -F “|” -f emp1.awk emp.lst