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

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

gawk3.0.6


From: Robert Katz
Subject: gawk3.0.6
Date: Tue, 24 Oct 2000 01:58:48 -0400

Hi gawk fans:

For gawk3.0.6 running on Tru64 UNIX V5.0a, compiled with gcc2.8.1,
notice the following commands:

    $ 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.
The following two sequences seem to be equivalent, but they shouldn't
be.

    $ gawk '/*/'

      and

    $ gawk '/\*/'

They both seem to search for a literal '*'.

What do you think?

Regards,

Robert Katz



reply via email to

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