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

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

Bug in GNU sed 3.02


From: Paolo Bonzini
Subject: Bug in GNU sed 3.02
Date: Sun, 18 Mar 2001 12:42:30 +0100

> p
> s/e/X/p
> :x
> s//Y/p
> /f/bx

I tracked down the bug in GNU sed 3.02 and later (possibly earlier too)
that the script above demonstrates: the // empty regular expression
matches the last *compiled* regular expression rather than the last
*executed* regexp.

Paolo



reply via email to

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