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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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