Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Linux Awk Files (There will be a second part posted as well) 1. Write an awk script file that will change all / characters to

Linux Awk Files (There will be a second part posted as well)

1. Write an awk script file that will change all "/" characters to "+" in all lines.

2. Write an awk script file that will add one blank line after every existing line in the input.

3. Write an awk script file that will change all "-" characters to "/" characters in every line that begins with an "F" or a "C".

4. Write an awk script file that will change all the "/" characters to ")" characters in all lines that end with a ")" character.

5. Write an awk script file that will insert the contents of the /etc/passwd file between lines 14 and 15 of the input.

6. Write an awk script file that will sort lines 7 through 26 of the input into aphabetical order.

7. Write an awk script file that will add a "#" character to the start of every line that does not already start with one.

8. Write an awk script file that will append all lines of the /etc/passwd file that contain the word "STUDENT" to the input

9. Write an awk script file that will move the last word of each line to the start of the line.

10. Write an awk script file that will add the line number to the beginning of each line of input.

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

Statistical And Scientific Database Management International Working Conference Ssdbm Rome Italy June 21 23 1988 Proceedings Lncs 339

Authors: Maurizio Rafanelli ,John C. Klensin ,Per Svensson

1st Edition

354050575X, 978-3540505754

More Books

Students also viewed these Databases questions

Question

6. Identify characteristics of whiteness.

Answered: 1 week ago

Question

9. Explain the relationship between identity and communication.

Answered: 1 week ago