bug-gnu-utils
[Top][All Lists]
Advanced

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

"diff -R" to swap file1 and file2?


From: Harald Dunkel
Subject: "diff -R" to swap file1 and file2?
Date: Wed, 02 Feb 2011 12:59:55 +0100

Hi folks,

would it be possible to add a flag "-R" or "--reverse" 
to the diff command line options to swap left and right 
side file on the fly? 

If you made a mistake on writing the diff command line, 
then adding a "-R" would be much easier and less error-
prone than moving one of the pathnames within the command 
line. 

This option would be pretty similar to "patch -R".


Just a suggestion, of course. Regards

Harri



reply via email to

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