freebsd-skq/usr.bin/sed
bcr 9ea8fcf87d Fix the last example to really replace all occurrences of the search string
in the file by adding the global (g) option at the end.  Without it, only the
first match is replaced, subsequent ones are ignored.  The intention of the
example is to demonstrate something else, but adding the g matches the example
to what the description says.

Discussed with:	    brd (on IRC)
MFC after:	    1 week
2017-04-24 16:52:26 +00:00
..
tests Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
compile.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
defs.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
extern.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
main.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
Makefile sed(1): Revert r303047 "cleanup" and therefore r303572. 2016-08-02 15:35:53 +00:00
Makefile.depend
misc.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
POSIX
process.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
sed.1 Fix the last example to really replace all occurrences of the search string 2017-04-24 16:52:26 +00:00