Problem
1. What is the difference between print and print $0? Is the print statement necessary for printing a line?
2. Select from empn.lst the people who were born in either September or December.
3. Implement the following commands in awk:
(i) head -n 5 foo,
(ii) sed -n ‘5,10p' foo,
(iii) tail +20 foo,
(iv) grep negroponte foo.
4. Use awk to renumber the lines:
1. fork
3. execve
2. wait
5. sleep.