socsvn commit: r238810 - soc2012/jhagewood/sdiff
jhagewood at FreeBSD.org
jhagewood at FreeBSD.org
Mon Jul 2 15:19:59 UTC 2012
Author: jhagewood
Date: Mon Jul 2 15:19:56 2012
New Revision: 238810
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=238810
Log:
Modified:
soc2012/jhagewood/sdiff/sdiff-test.sh
Modified: soc2012/jhagewood/sdiff/sdiff-test.sh
==============================================================================
--- soc2012/jhagewood/sdiff/sdiff-test.sh Mon Jul 2 15:08:39 2012 (r238809)
+++ soc2012/jhagewood/sdiff/sdiff-test.sh Mon Jul 2 15:19:56 2012 (r238810)
@@ -11,6 +11,51 @@
run () {
+ # --ignore-case
+ $1 -i 1.txt 2.txt >> $2/ignrcase.txt
+ $1 --ignore-case 1.txt 2.txt >> $2/ignrcase.txt
+
+ # --ignore-tab-expansion
+ $1 -E 1.txt 2.txt >> $2/ignrtabexp.txt
+ $1 --ignore-tab-expansion 1.txt 2.txt >> $2/ignrtabexp.txt
+
+ # --ignore-space-change
+ $1 -b 1.txt 2.txt >> $2/ignrspacechg.txt
+ $1 --ignore-space-change 1.txt 2.txt >> $2/ignrspacechg.txt
+
+ # --ignore-all-space
+ $1 -W 1.txt 2.txt >> $2/ignrallspace.txt
+ $1 --ignore-all-space 1.txt 2.txt >> $2/ignrallspace.txt
+
+ # --ignore-blank-lines
+ $1 -B 1.txt 2.txt >> $2/ignrblanklines.txt
+ $1 --ignore-blank-lines 1.txt 2.txt >> $2/ignrblanklines.txt
+
+ # --strip-trailing-cr
+ $1 --ignore-space-change 1.txt 2.txt >> $2/ignrspacechg.txt
+
+ # --text
+ $1 -a 1.txt 2.txt >> $2/text.txt
+ $1 --text 1.txt 2.txt >> $2/text.txt
+
+ # --width
+ $1 -w 50 1.txt 2.txt >> $2/width.txt
+ $1 --width="50" 1.txt 2.txt >> $2/width.txt
+
+ # --left-column
+ $1 -l 1.txt 2.txt >> $2/leftcolumn.txt
+ $1 --left-column 1.txt 2.txt >> $2/leftcolumn.txt
+
+ # --suppress-common-lines
+ $1 -s 1.txt 2.txt >> $2/suppresscl.txt
+ $1 --suppress-common-lines 1.txt 2.txt >> $2/suppresscl.txt
+
+ # --expand-tabs
+ $1 -t 1.txt 2.txt >> $2/expandtabs.txt
+ $1 --expand-tabs 1.txt 2.txt >> $2/expandtabs.txt
+
+ # --tabsize
+ $1 --tabsize="6" 1.txt 2.txt >> $2/tabsize.txt
}
DIR_PATH="./test_outputs/gnu"
More information about the svn-soc-all
mailing list