colourised wdiff(1) wrapper
authorThorsten Glaser <tg@mirbsd.org>
Sat, 3 Dec 2011 16:54:51 +0000 (16:54 +0000)
committerThorsten Glaser <tg@mirbsd.org>
Sat, 3 Dec 2011 16:54:51 +0000 (16:54 +0000)
posix/wcdiff [new file with mode: 0644]

diff --git a/posix/wcdiff b/posix/wcdiff
new file mode 100644 (file)
index 0000000..24057dc
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+# colourised wdiff(1)
+
+exec wdiff -w '\e[4;34m⌦\e[0m\e[1;4;31m' -x '\e[0m\e[4;34m⌫\e[0m' \
+    -y '\e[4;34m▶\e[0m\e[1;4;32m' -z '\e[0m\e[4;34m◀\e[0m' "$@"