Question: awk When your answer uses a script file the first line of your solution should be the command to execute your script file. The following
awk
When your answer uses a script file the first line of your solution should be the command to execute your script file. The following lines should be the contents of your script file.
- Add the words "FILE PCC" to the end of lines 530 through 540.
- Delete all lines that begin with the word "Of"
- Change all fully-capitalized words into the more conventional first-character capitalization. For example, 'EDEN' should become 'Eden', 'SION' should become 'Sion', and so forth.
- Count the number of words between 5 and 8 characters in length, and then display the count. Do not display any lines of the file - the output should be just the count.
- Count the number of words that contain consecutive vowels (a, e, i, o, or u), and then display the count. "consecutive vowels" means the word contains two vowels in a row, i.e. "look" and "good" contain consecutive vowels, while "mama" does not. Do not display any lines of the file - the output should be just the count.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
