[1767] in Athena Bugs
sed (1) man page (VS6.0r)
daemon@ATHENA.MIT.EDU (David Krikorian)
Fri Feb 10 19:18:21 1989
Date: Fri, 10 Feb 89 19:17:51 EST
From: David Krikorian <dkk@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
Reply-To: dkk@ATHENA.MIT.EDU
The sed man page mentions the 'n', 'e' and 'f' options, but does not
mention the 'g' option. Typing "sed -g <...>" is comparable to typing
"sed <...>/g" or "sed <...>g" (depending on the "<...>"). The "g"
means global, so that the action sed takes on the matching line
happens for every occurrence of the matching string, even if there is
more than one on a line.
(UMD seems to have the same man page error, and the same undocumented
option, so it looks like it's Berkeley's oversight.)