diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-12-05 20:56:03 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-12-05 20:56:03 +0000 |
commit | 5532e83f3887d45d125d7b1b8fc17c39eb14c149 (patch) | |
tree | 56bf7b98e38e3a230287ca04b18bed4068838b29 /RunGrepTest | |
parent | 228b0cfb8b1a91b136e6431dd8d369362a613b75 (diff) | |
download | pcre-5532e83f3887d45d125d7b1b8fc17c39eb14c149.tar.gz |
Add --line-offsets and --file-offsets to pcregrep.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@280 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'RunGrepTest')
-rwxr-xr-x | RunGrepTest | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/RunGrepTest b/RunGrepTest index 0c6eda8..6f295b7 100755 --- a/RunGrepTest +++ b/RunGrepTest @@ -208,6 +208,12 @@ echo "---------------------------- Test 50 ------------------------------" >>tes echo "---------------------------- Test 51 ------------------------------" >>testtry (cd $srcdir; $valgrind $pcregrep --colour=always jumps ./testdata/grepinputv) >>testtry +echo "---------------------------- Test 52 ------------------------------" >>testtry +(cd $srcdir; $valgrind $pcregrep --file-offsets 'before|zero|after' ./testdata/grepinput) >>testtry + +echo "---------------------------- Test 53 ------------------------------" >>testtry +(cd $srcdir; $valgrind $pcregrep --line-offsets 'before|zero|after' ./testdata/grepinput) >>testtry + # Now compare the results. $cf $srcdir/testdata/grepoutput testtry |