Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
grep: search results listed in lowercase (#776)
* I noticed that "grep -Fi pattern" was incorrectly listing matching lines in all lowercase * When reading the code, this issue had already been fixed in closures $cls_fgrep_xiv and $cls_fgrep_xi * Apply same pattern in closures $cls_fgrep_i and $cls_fgrep_iv (avoid modification of $_ in match function) * test1: "perl grep -Fin INCLUDE a.c" ---> exercise $cls_fgrep_i (including line numbers) * test2: "perl grep -Fiv INT a.c" ---> exercise $cls_fgrep_iv
- Loading branch information