- edited description
sed(1) - POSIX compatibility, two or more nagation characters(!) should be igored.
see following other *BSD commit:
-
FreeBSD https://svnweb.freebsd.org/base?view=revision&revision=184854
Fix the code to conform to the "or more" part of the following POSIX specification and regression test regress:25.
"A function can be preceded by one or more '!' characters, in which case the function shall be applied if the addresses do not select the pattern space."
MFC after: 2 weeks
-
OpenBSD http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/sed/compile.c#rev1.38
POSIX specifies that that multiple '!' characters preceding a function should be treated as a single negation. From FreeBSD via Liviu Daia.
Comments (2)
-
reporter -
reporter - changed status to resolved
BUGFIX: Issue
#131-- fix sed(1) - POSIX compatibility, two or more nagation characters(!) should be igored. patch taken from other *BSD:-
FreeBSD https://svnweb.freebsd.org/base?view=revision&revision=184854
Fix the code to conform to the "or more" part of the following POSIX specification and regression test regress:25.
"A function can be preceded by one or more '!' characters, in which case the function shall be applied if the addresses do not select the pattern space."
MFC after: 2 weeks
-
OpenBSD http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/sed/compile.c#rev1.38
POSIX specifies that that multiple '!' characters preceding a function should be treated as a single negation. From FreeBSD via Liviu Daia.
→ <<cset eb5247098900>>
- Log in to comment