Awk

For this assignment, use awk to answer the questions. Three files are referred to:

Create a shell script of echos and awk commands that resembles this:
echo "Your name"
echo "1. awk ......"
awk ........
for each of the following:
  1. Use awk to display all words in the words file that contain an "zzan". Pipe the output through head
  2. Use awk to display the words that start with a lower case vowel and end with "orch" or "urch". Pipe the output through head
  3. Display the entire record of all cars that have an "o" in the first column
  4. Display the car make and type for each car whose 4th column is more than 45
  5. Display the car make and type for each car whose 5th column is in the range of $2000 to $4000 inclusive
  6. Display the records from the first plymouth to the first ford
  7. Display the records from the cars file where column 2 has four or more letters in it.
  8. Display the sum of the costs of all the cars
  9. Print the TOTAL number of fields in the password file
  10. Print the TOTAL number of records in the password file
    Note: You can combine the last two problems into 1 piece of code
To hand it in:
  1. Call your script assign9
  2. Capture the output of assign9 and call the output assign9.out.
  3. Place both assign9 and the output (assign9.out) in your obsidian dropbox