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

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

Re: egrep man page -- possible error


From: Paul Jarc
Subject: Re: egrep man page -- possible error
Date: Sat, 01 Jun 2002 17:20:15 -0400
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i686-pc-linux-gnu)

Atul Saroop <address@hidden> wrote:
> "A list of characters enclosed by [ and ] matches any single
> character in that list; if the first character of the list is the
> caret ^ then it matches any character not in the list. "
>
> and then goes on to say that
>
> "The caret ^ and the dollar sign $ are metacharacters that
> respectively match the empty string at the beginning and end of a
> line."
>
> My knowledge tells me that the first statement has an error, and the
> second one is correct.

Both are correct.  "^" takes on different meanings inside and outside
brackets.


paul



reply via email to

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