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 |
||
---|---|---|
.. | ||
tests | ||
compile.c | ||
defs.h | ||
extern.h | ||
main.c | ||
Makefile | ||
Makefile.depend | ||
misc.c | ||
POSIX | ||
process.c | ||
sed.1 |