Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Depending on what the OP means by "I cannot use Perl", PCRE support for grep may not be available. This shouldn't be the case on a standard CentOS install, though... Commented Nov 11, 2014 at 4:12
  • @JosephR. I know, that's why I clarified that it needs GNU grep. You need that for -o anyway, let alone the PCREs. No idea what makes the OP thing that perl itself is not installed by default on CentOS. Perhaps it's an extremely minimalist setup. Commented Nov 11, 2014 at 4:14