Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grep: search results listed in lowercase #776

Merged
merged 1 commit into from
Oct 31, 2024

Commits on Oct 31, 2024

  1. grep: search results listed in lowercase

    * 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
    mknos authored Oct 31, 2024
    Configuration menu
    Copy the full SHA
    b23e7cd View commit details
    Browse the repository at this point in the history