Add set-case-replaced to toggle case-preserving replace on or off.
authorreyk <reyk@openbsd.org>
Wed, 29 Aug 2018 07:50:16 +0000 (07:50 +0000)
committerreyk <reyk@openbsd.org>
Wed, 29 Aug 2018 07:50:16 +0000 (07:50 +0000)
commit87e43ad27678b6aa726fa176366c76919813dd8a
treed284febe85d688d764a42d0c508dc66fcd099fc2
parentda624270dac3873408aca8cd90ef214e21a5ac81
Add set-case-replaced to toggle case-preserving replace on or off.

By default, replacing "foo" with "bar" turns "FOO" into "BAR".
With case-replace turned off, "FOO" will turn into "bar".

OK florian@ tb@
usr.bin/mg/def.h
usr.bin/mg/funmap.c
usr.bin/mg/line.c
usr.bin/mg/mg.1