[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gawk3.0.6
From: |
Ulrich Drepper |
Subject: |
Re: gawk3.0.6 |
Date: |
23 Oct 2000 23:15:11 -0700 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef) |
Robert Katz <address@hidden> writes:
> $ gawk '/*/' /dev/null
> $ print $?
> 0
>
> I believe the gawk line should fail. The regular expression is
> missing an operand. The '*' must modify something, but it doesn't.
No. Read POSIX (or if you have, the Austin group standard draft). If
* is used as the first character (possibly after a leading ^) it
looses the special meaning. This is true for BREs and EREs.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
- gawk3.0.6, Robert Katz, 2000/10/24
- Re: gawk3.0.6,
Ulrich Drepper <=