diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-07-02 21:11:29 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-07-02 21:11:29 -0700 |
commit | 3d0a1bb06b895c5be6e3f0517d355442a6b1e125 (patch) | |
tree | 84069ebc3254825b952a482e11cdbbbc69f6fe85 /bin/3diff | |
parent | f3b99c11d6eed33f467dda360180a698a85c54e8 (diff) | |
parent | d62206a94d9d49ef96640e0a8ec492679f8345e9 (diff) |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'bin/3diff')
-rwxr-xr-x | bin/3diff | 13 |
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); + |