SYNOPSIS<sb> ... $variables ... </sb>
DESCRIPTION<sb>
and </sb>
enable and disable, respectively,
automatic search and replace of printed variables, after a search and
replace list is set with the SANDBLAST
or SANDCALL
commands to fmtcp
.
DIAGNOSTICS<sb>
and </sb>
have no effect on $ret
.
EXAMPLE<$x = "A red rose.">
<fmtcp "sandblast" "red" "blue">
Original: $x
<sb>Replace "red" with "blue": $x</sb>
The output would be:
Original: A red rose.
Replace "red" with "blue": A blue rose.
CAVEATS
The sb
function was added in version 2.1.899870000 19980708.
sandr
-style replacement strings (e.g. special backslash escapes)
are not yet supported.