Question: UNIX stream editor Create a directory called myseddir . Copy the following files to this directory. data1.txt data2.txt data3.txt Write a script that reads the

UNIX stream editor

Create a directory called myseddir. Copy the following files to this directory.

data1.txt

data2.txt

data3.txt

Write a script that reads the contents of your myseddir directory and executes the following operations on any files it contains:

Transform the 1 to 4, 2 to 5, and 3 to 6.

Remove any trailing spaces at the end of a line

Remove all lines that begin with Today

Remove all blank lines

Direct all output to a file called usernameoutput

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!