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

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

gawk: {} repetition in patterns doesn't work?


From: tt
Subject: gawk: {} repetition in patterns doesn't work?
Date: 21 Mar 2001 08:44:13 +0200

Using gawk 3.04 the following prints nothing:

echo 'aa' | awk '/a{2}/' 

It prints 'aa' with HP-UX awk and so it should according to
my understanding of POSIX.2. It doesn't work with 'nawk'
in Solaris either, though. A bug or a feature?

-- 
Tapani Tarvainen



reply via email to

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