pcregrep, grep based on perl compatible regular expressions

November 20th, 2007 mysurface

grep supposedly support perl regex by specified -P option, but somehow my grep do not support that, it complains this when I trigger with -P grep: The -P option is not supported But when you check the manpage of grep, you will see this -P, –perl-regexp Interpret PATTERN as a Perl regular expression. I found […]

Posted in pcregrep, printf, Regular Expression, Text Manipulation | Hits: 151519 | 3 Comments »