Question: All steps should be done using one command line and the awk utility. Don't use any other filter such as cut, grep, etc. Comparing awk

All steps should be done using one command line and the awk utility. Don't use any other filter such as cut, grep, etc.
Comparing awk with sed by doing the same first 6 steps but using awk:
1. Write an awk command line that has the same output as: head -4 lab3in | tail -2
2. Without using line numbers, write an awk command line that has the same output as: grep America lab3in
3. Without using line numbers, write an awk command line that has the same output as: wc l < lab3in
4. Without using line numbers, write an awk command line that has the same output as: grep -v '^$' lab3in
5. Without using line numbers, print only the lines with continent data, indenting each line by 3 spaces.
6. Without using line numbers, print the continent names and areas, separated by colon (:).Only the continent names and their areas should be printed.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!