> -Original Message-
> From: cygwin-owner On Behalf Of Brian Dessent
> Sent: 11 March 2004 11:29
> From the grep manpage:
>
> > In basic regular expressions the metacharacters ?, +, {, |,
> (, and
> > ) lose their special meaning; instead use the
> backslashed versions
> > \?
Dave Korn wrote:
> Ok, since when has the plus sign been a bash metachar? I'm sure I've never
> had to escape it before, but am I remembering wrong?
>From the grep manpage:
> In basic regular expressions the metacharacters ?, +, {, |, (, and )
> lose their special meaning; instead use the
Well, either grep or bash:
[EMAIL PROTECTED] /davek> echo >test-grep.txt " 123 ; pretend asm comment"
[EMAIL PROTECTED] /davek> cat test-grep.txt
123 ; pretend asm comment
[EMAIL PROTECTED] /davek> grep "[0-9]+[\t ]*;" test-grep.txt
[EMAIL PROTECTED] /davek> grep "[0-9]*[\t ]*;" test-grep.txt
1
3 matches
Mail list logo