diff options
author | Florian Pritz <bluewind@xinu.at> | 2014-03-12 15:10:00 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2014-03-12 15:10:00 +0100 |
commit | 61812b45a006e774b179e9b8e65a5f12d777f5b1 (patch) | |
tree | 49f5050768e1abb9e96a178170094b0a6f580630 | |
parent | 17af39e657fd02ff208aedf8ad050dabf3aadc82 (diff) | |
download | bin-61812b45a006e774b179e9b8e65a5f12d777f5b1.tar.gz bin-61812b45a006e774b179e9b8e65a5f12d777f5b1.tar.xz |
mpgrep: case insensitive matching
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | mpgrep | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ my $pattern; LINE: while (<STDIN>) { for $pattern (@patterns) { - next LINE unless m/$pattern/; + next LINE unless m/$pattern/i; } print; } |