3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-17 01:19:31 +01:00
pbot/lib/PBot
Pragmatic Software e5e0f26b90
applets/pbot-vm: minor fixes
* 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.
2024-10-30 15:43:38 -07:00
..
Core split_line(): Remove no longer used next_ch/last_ch 2024-10-29 12:49:19 -07:00
Plugin Plugin/AntiHello: update regex 2024-10-25 17:51:16 -07:00
Core.pm Multiple bugfixes 2024-04-07 20:55:04 -07:00
Imports.pm Imports: disable deprecation warnings 2024-03-15 02:48:17 -07:00
VERSION.pm applets/pbot-vm: minor fixes 2024-10-30 15:43:38 -07:00