Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

///////////

  1. Add the words "PCC FILE" to the beginning of lines 530 through 540.
  2. Delete lines 530 through 540.
  3. Compress multiple occurrences of blank lines into a single blank line.
  4. Find all lines with more than 30 characters, and split these lines into multiple lines, each of which contains no more than 30 characters.
  5. 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Application Development And Design

Authors: Michael V. Mannino

1st Edition

0072463678, 978-0072463675

Students also viewed these Databases questions

Question

6. What is process reengineering? Why is it relevant to training?

Answered: 1 week ago