mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-17 09:29:30 +01:00
e5e0f26b90
* set `preserve_escapes` to 0 in guest/_c_base.pm so escapes are stripped in: <pragma-> ,show testcargs <candide> [global] testcargs: /code c11 printf("/say args: " ); while (*++argv) printf("[%s] " , *argv); <pragma-> ,testcargs foo\'bar baz\'qux <candide> args: [foo\'bar] [baz\'qux] to produce the desired output of: <candide> args: [foo'bar] [baz'qux] * set `keep_spaces` to 1 in host/_default.pm since it turns out that in some languages unquoted spaces are significant, e.g. in `sh ${1% *}` to strip text following two spaces. Without `keep_spaces` enabled, `sh ${1% *}` becomes `sh ${1% *}` and strips all text following one space instead of two. |
||
---|---|---|
.. | ||
_c_base.pm | ||
_default.pm | ||
c2x.pm | ||
c11.pm | ||
c89.pm | ||
c99.pm | ||
clang2x.pm | ||
clang11.pm | ||
clang89.pm | ||
clang99.pm | ||
clang.pm | ||
clangpp.pm | ||
cpp.pm | ||
freebasic.pm | ||
haskell.pm | ||
java.pm | ||
qbasic.pm | ||
tendra.pm |