CVSROOT: /sources/grep Module name: grep Changes by: Tony Abou-Assaleh <taa> 07/10/07 05:18:05
Index: tests/foad1.sh =================================================================== RCS file: /sources/grep/grep/tests/foad1.sh,v retrieving revision 1.15 retrieving revision 1.16 diff -u -b -r1.15 -r1.16 --- tests/foad1.sh 18 Nov 2005 20:02:22 -0000 1.15 +++ tests/foad1.sh 7 Oct 2007 05:18:05 -0000 1.16 @@ -55,6 +55,13 @@ grep_test "wA wB/" "(standard input):wA/(standard input):wB/" "w." -o -H -i grep_test "wA wB/" "(standard input):wA/(standard input):wB/" "w." -o -H -3 2>/dev/null +# Combination of -h and -H +grep_test "wA wB/" "wA wB/" "w." +grep_test "wA wB/" "wA wB/" "w." -h +grep_test "wA wB/" "wA wB/" "w." -H -h +grep_test "wA wB/" "(standard input):wA wB/" "w." -H +grep_test "wA wB/" "(standard input):wA wB/" "w." -h -H + # End of a previous match should not match a "start of ..." expression. grep_test "word_word/" "word_/" "^word_*" -o grep_test "wordword/" "word/" "\<word" -o
