Question
Awk 1. Add the words FILE PCC to the end of lines 530 through 540. 2.Delete all lines that begin with the word Of 3.
Awk
1. Add the words "FILE PCC" to the end of lines 530 through 540.
2.Delete all lines that begin with the word "Of"
3. 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.
4. 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.
5. 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.
///////////
- Add the words "PCC FILE" to the beginning of lines 530 through 540.
- Delete lines 530 through 540.
- Compress multiple occurrences of blank lines into a single blank line.
- Find all lines with more than 30 characters, and split these lines into multiple lines, each of which contains no more than 30 characters.
- Count the number of lines that contain more than 10 capital letters, and then display the count. 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started