bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-P option in --help, but "not supported" when used.


From: Simon Kågedal
Subject: -P option in --help, but "not supported" when used.
Date: Fri, 16 Dec 2005 14:23:19 +0100

Watch this:

$ grep --version
grep (GNU grep) 2.5.1

Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ grep --help | grep perl
  -P, --perl-regexp         PATTERN is a Perl regular expression
$ echo foo | grep -P foo
grep: The -P option is not supported
$


Either the option is supported or it is not, in which case it shouldn't be
listed in the "--help" page.

Greetings,
Simon Kågedal


reply via email to

[Prev in Thread] Current Thread [Next in Thread]