From owner-svn-soc-all@FreeBSD.ORG Mon Jul 2 15:19:59 2012 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from socsvn.FreeBSD.org (unknown [IPv6:2001:4f8:fff6::2f]) by hub.freebsd.org (Postfix) with SMTP id 45ECF106567B for ; Mon, 2 Jul 2012 15:19:57 +0000 (UTC) (envelope-from jhagewood@FreeBSD.org) Received: by socsvn.FreeBSD.org (sSMTP sendmail emulation); Mon, 02 Jul 2012 15:19:57 +0000 Date: Mon, 02 Jul 2012 15:19:57 +0000 From: jhagewood@FreeBSD.org To: svn-soc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <20120702151957.45ECF106567B@hub.freebsd.org> Cc: Subject: socsvn commit: r238810 - soc2012/jhagewood/sdiff X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2012 15:19:59 -0000 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"