This is the output of the command diff file1 file2 56c5 Luc

This is the output of the command diff file1 file2: 5,6c5 < Lucy < CSE 15L --- > Priyanka What 2 changes would you make (add, delete, or change lines) in which file to make the contents of the 2 files identical? Refer to the files as file1 and file2 respectively.

Solution

in diff command \'<\' represents the contents from first, file

<Lucy

<CSE 15L

Means there are two differences in file1 compared to file2

5,6c5 says there are changes in 5th and 6th rows. whereas c5 says we have to change the line5 of the file

to make both files equal.

In order to equal both the files mentioned above , we have to add both the lines and don\'t forget to enter

new line on both files or no new line on both files after the content.

Lucy

CSE 15L

to file file2 or delete from file1

This is the output of the command diff file1 file2: 5,6c5 < Lucy < CSE 15L --- > Priyanka What 2 changes would you make (add, delete, or change lines)

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site