summaryrefslogtreecommitdiff
path: root/package/mc/patches/patch-lib_mc_menu
blob: c29c0a79da721820ed7e4b436e552881f9768ce1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$Id$
$MirOS: ports/misc/mc/patches/patch-lib_mc_menu,v 1.9 2007/03/01 23:56:43 tg Exp $
--- mc-4.6.1.orig/lib/mc.menu	2004-08-17 08:31:16.000000000 +0000
+++ mc-4.6.1/lib/mc.menu	2007-03-20 13:32:10.000000000 +0000
@@ -1,4 +1,12 @@
 shell_patterns=0
++ t r & ! t t
+u       Diff file against opposite
+	diff -dupa %f %D/%F 2>&1 | less
+
+= t d
+U       Diff dir against opposite
+	diff -pdu . %D 2>&1 | grep -v "^Only in " | less
+
 + ! t t
 @       Do something on the current file
 	CMD=%{Enter command}