| 184 |
$valgrind ./pcregrep -F -e DATA -e "AB.VE |
$valgrind ./pcregrep -F -e DATA -e "AB.VE |
| 185 |
elephant" $testdata/grepinput >>testtry |
elephant" $testdata/grepinput >>testtry |
| 186 |
|
|
| 187 |
|
echo "---------------------------- Test 49 ------------------------------" >>testtry |
| 188 |
|
$valgrind ./pcregrep "^(abc|def|ghi|jkl)" $testdata/grepinputx >>testtry |
| 189 |
|
|
| 190 |
|
echo "---------------------------- Test 50 ------------------------------" >>testtry |
| 191 |
|
$valgrind ./pcregrep -N CR "^(abc|def|ghi|jkl)" $testdata/grepinputx >>testtry |
| 192 |
|
|
| 193 |
|
echo "---------------------------- Test 51 ------------------------------" >>testtry |
| 194 |
|
$valgrind ./pcregrep --newline=crlf "^(abc|def|ghi|jkl)" $testdata/grepinputx >>testtry |
| 195 |
|
|
| 196 |
|
echo "---------------------------- Test 52 ------------------------------" >>testtry |
| 197 |
|
$valgrind ./pcregrep --newline=cr -F "def
jkl" $testdata/grepinputx >>testtry |
| 198 |
|
|
| 199 |
|
echo "---------------------------- Test 53 ------------------------------" >>testtry |
| 200 |
|
$valgrind ./pcregrep --newline=crlf -F "xxx |
| 201 |
|
jkl" $testdata/grepinputx >>testtry |
| 202 |
|
|
| 203 |
# Now compare the results. |
# Now compare the results. |
| 204 |
|
|
| 205 |
$cf testtry $testdata/grepoutput |
$cf testtry $testdata/grepoutput |