Find out the differences between the two files

Assignment Help Computer Engineering
Reference no: EM1336583

In your week2 directory create two identical files.
Mollett.ed1
Mollett.vi

The contents of the two files should be:
There once was a man from Nantucket,
Who carried his lunch ina bucket,
Saih he with a sigh,
I am very full As he ate a whole pie,

Using an editor available in your Konsole window that is not the vi editor edit the *.ed1 file:

Add the following line after the last line:

If I just had a donut I'd dunk it.

Remove all text on the fourth line before the word As

Correct misspelled words ina and Saih

Save the file and exit the editor

Using the vi editor on the *.vi file
Add the following line after the last line:

If I just had a donut I'd dunk it.

Remove all text on the fourth line before the word As

Correct misspelled words ina and Saih

Change the limerick so it reflects a woman instead of a man (change all

occurrences of man to woman, his to her, and he to she) using search and replace feature

Save the file and exit vi

Place the word count of the two files in a file called Mollett.out

Change Nantucket to Pawtucket in the *.ed1 file using the sed command

Append the last two lines of each file to the file called Mollett.out without cutting and pasting (Hint: tail command can do this)

Find the differences between the two files and append the result to the file called Mollett.out (Hint: diff command can do this)

Use grep to find files contaning Pawtucket and append the output to the file called Mollett.out

In your week2 directory create the script in Project.3-7 and name it Mollett.3-7

Attach your four files to a message posted in the Assignments NG

Reference no: EM1336583

Questions Cloud

Utilizing an aggregate supply and aggregate demand : Utilizing an aggregate supply and aggregate demand diagram, show why this self-correcting process involves only temporary periods of inflation or deflation.
Explain marketing mix for victoria secret''s success : Explain Marketing mix for Victoria Secret's success and the importance of the marketing mix for Victoria Secret's success of introducing a plus size line of clothing
Elucidate what can you infer from this data : Elucidate what can you infer from this data about labor productivity growth in the US economy during the period.
Find the breakeven point for weaver watch company : Calculate the breakeven point for Weaver Watch Company.
Find out the differences between the two files : Append the last two lines of each file to the file known Mollett.out without cutting and pasting (Hint: tail command can do this)
Assume that you have drawn a total product : Assume that you have drawn a total product curve for labor given a specific technology. Now let some sort of technological change increase the productivity of labor.
Explain marketing mix at hallmark : Explain Marketing Mix at Hallmark and discuss how each element influences Hallmark's tactics and marketing strategy
Minimizing the bus company''s salary : Estimate  how to minimize the bus company's salary, hiring, and firing costs over the next 5 years.
Explain how does that rate compare with the rate : Explain how does that rate compare with the rate in the previous month. What were the unemployment rates for adult men, adult women, teenagers, blacks, Hispanics, and whites.

Reviews

Write a Review

Computer Engineering Questions & Answers

  What is the meaning of operator precedence

Depending on operator precedence, what values might be associated with the expression 6 + 2 * 3.

  Create a .plan file using pico/nano

Create a .plan file using PICO/NANO

  Define the dangers of the sequence of statements

Write down three SQL statements: the first statement should add the pending amounts to the appropriate accounts, the second statement must subtract the pending amounts from the appropriate accounts, and the third statement should delete the pending..

  What happen if you did not break

When using Case statements, what would happen if you did not "Break?" Please give an example and explain. Where, in your everyday life, would you use all of the looping techniques.

  Implenting a code

Write down a fragment of code which reads a line of text (using getline) from standard input containing of a last name followed by the first name

  What is the itsec

What is the meaning of CIA triad in Information Security.What is the difference between Symmetric and Asymmetric Key Cryptography

  Create a program to compute numeric grades for a course

Write down a program to compute numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's last name, then one space, then the ..

  Evaluate dbms products for data warehousing

design a high-level summary of the main requirements to evaluate DBMS products for data warehousing. Suppose you are selling the data warehouse idea to your users.

  Plan a decision tree for this situation

Premium Airlines has recently offered to settle claims for a class-action suit that was originated for alleged price fixing of tickets. The proposed settlement is stated as follows. Draw a decision tree for this situation.

  Creating a traffic light with three small square text boxes

Create a traffic light having three small square text boxes substituted vertically on the form initially, bottom text box is solid green and other text boxes are dark gray.

  Avoiding breaches in health care information system

Analyze the financial and privacy impacts of the breaches to health care information systems and make at least two recommendations in order to prevent such breaches in future.

  Create program that reads from the external file input.txt

create a program that reads from the external file input.txt

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd