Rob Landley
|
3062fc9e9a
Fix grep --color to highlight all matches, based on Peter Collingbourne's
|
2 years ago |
Peter Collingbourne
|
fb3c380d07
grep: Implement -L.
|
2 years ago |
Rob Landley
|
6817e114bb
Teach -o to print ranges that produce zero length matches.
|
3 years ago |
Rob Landley
|
76d3160cfa
Fix grep bug where -f /dev/null added "" regex matching everything,
|
3 years ago |
Rob Landley
|
78a4be9e68
Only create test file "input" when input argument isn't empty.
|
4 years ago |
Rob Landley
|
25bfbb69be
Fix unaligned access, tweak test suite.
|
5 years ago |
Elliott Hughes
|
fdd58dc338
grep: fix two bugs found by hwasan.
|
5 years ago |
Elliott Hughes
|
5194d4ad66
grep: add -R as well as -r.
|
5 years ago |
Elliott Hughes
|
2f9d9096aa
grep: add --exclude-dir.
|
5 years ago |
Rob Landley
|
a39eab3fc7
Fix a missing else, and an inverted test hidden by the missing else.
|
5 years ago |
Rob Landley
|
bf174d69cc
I had some pending grep tests I hadn't checked in too.
|
5 years ago |
Elliott Hughes
|
caa5a3b131
grep: use TOYFLAG_ARGFAIL for grep too.
|
5 years ago |
Rob Landley
|
b6c12d25bc
Add grep tests to "make tests".
|
5 years ago |
Rob Landley
|
84e22115a5
A couple more grep tests, and slightly use dlist_terminate() for the loops.
|
5 years ago |
Rob Landley
|
7a46d1db95
Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work.
|
5 years ago |
Elliott Hughes
|
e9dfdd76d5
Add tests for grep with implicit/explicit BREs and explicit EREs.
|
6 years ago |
Rob Landley
|
12adb4113d
Many failing tests I need to fix grep to pass while adding --color.
|
8 years ago |
Rob Landley
|
336c44adca
Factor out command name at the start of test name, have runtest.sh print it.
|
8 years ago |
Rob Landley
|
c02619bbc0
Fix -H and -n with -ABC, and add tests.
|
8 years ago |
Rob Landley
|
36aed25f3f
Add grep -B -C
|
8 years ago |
Rob Landley
|
b97d8211fa
Add grep -A
|
8 years ago |
Rob Landley
|
73e3a644c1
Change grep -w to checking matches after the fact rather than modifing regex.
|
8 years ago |
Rob Landley
|
387edf547e
Move testsuite out of scripts/test into its own top level tests directory, and make ctrl-c kill "make test" more reliably.
|
9 years ago |