bug-diffutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-diffutils] RFE: Implement reverse diff


From: Sérgio Basto
Subject: [bug-diffutils] RFE: Implement reverse diff
Date: Sat, 05 Nov 2011 03:32:14 +0000

Hi, 
since a long time I which have a reverse diff , which in diff command is just 
swap operators 
diff a b --reverse <=> diff b a 
for example:
diff -u newfile oldfile , I want see diff oldfile newfile, if everything is all 
right. and just do 
cp newfile oldfile .

just swap command (diff -u with cp )
diff -u newfile oldfile 
cp      newfile oldfile

will be easier built mini scripts ....

like patch, -R for short of reverse will be great.

TIA
-- 
Sérgio M. B.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]