Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: diff command

by ikegami (Pope)
on Mar 31, 2011 at 20:33 UTC ( #896724=note: print w/replies, xml ) Need Help??


in reply to Re^2: diff command
in thread diff command

I do not understand what this means. 0a1,4 means

"a" denotes an addition. "d" denotes a deletion. The numbers on the left form a range of line numbers in file1. The numbers on the right form a range of line numbers in file2.

and how to make the output files identical

Some options:

cp file1 file2
cp file2 file1
truncate -s 0 file1 file2

Replies are listed 'Best First'.
Re^4: diff command
by ruzam (Curate) on Apr 01, 2011 at 02:37 UTC

    PerlMonks really needs a rating system like /. I would sooo cast my votes to mod up that reply funny. Thanks :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://896724]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2021-03-06 18:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (118 votes). Check out past polls.

    Notices?