freebsd-dev/usr.bin/sed
Benedict Reuschling 0ae98ab709 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
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