Parent Directory | Revision Log | Patch
revision 1.7 by charles_levert, Fri Apr 29 11:30:09 2005 UTC | revision 1.8 by charles_levert, Tue Jun 14 20:56:42 2005 UTC | |
---|---|---|
# | Line 51 grep_test "wordword/" "word/" "\<word" - | Line 51 grep_test "wordword/" "word/" "\<word" - |
51 | ||
52 | # Test "--color" option | # Test "--color" option |
53 | ||
54 | CB="[01;31m" | CB="[01;31m[K" |
55 | CE="[00m" | CE="[m[K" |
56 | ||
57 | # "--color" with "-i" should output an exact copy of the matching input text. | # "--color" with "-i" should output an exact copy of the matching input text. |
58 | grep_test "WordA/wordb/WORDC/" "${CB}Word${CE}A/${CB}word${CE}b/${CB}WORD${CE}C/" "Word" --color=always -i | grep_test "WordA/wordb/WORDC/" "${CB}Word${CE}A/${CB}word${CE}b/${CB}WORD${CE}C/" "Word" --color=always -i |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |