summaryrefslogtreecommitdiff
path: root/bin/3diff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-05-10 00:46:53 -0700
committerIvan Kohler <ivan@freeside.biz>2013-05-10 00:46:53 -0700
commita40c575ed229d24706a3dd491ea9fda14f7dea81 (patch)
tree209b95f014caf8370959260eaa66306fea693a02 /bin/3diff
parent2272361a3302113bb43cbf4581e7187db25f3a58 (diff)
3add
Diffstat (limited to 'bin/3diff')
-rwxr-xr-xbin/3diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/3diff b/bin/3diff
new file mode 100755
index 000000000..badafd579
--- /dev/null
+++ b/bin/3diff
@@ -0,0 +1,13 @@
+#!/usr/bin/perl
+
+my $file = shift;
+
+chomp(my $dir = `pwd`);
+$dir =~ s/freeside(\/?)/freeside3$1/;
+warn $dir;
+
+#$cmd = "diff -u $file $dir/$file";
+$cmd = "diff -ubBw $dir/$file $file";
+print "$cmd\n";
+system($cmd);
+