3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-23 03:02:47 +01:00
pbot/lib/PBot
Pragmatic Software 4287cb9fa2
Fix split_line() quoting to be more sh-like
E.g.:

<pragma-> show testcargs
   <PBot> [global] testcargs: /code c11 printf("/say args: " ); while (*++argv) printf("[%s] " , *argv);
<pragma-> testcargs 'hello''world' 'how are 'you today
   <PBot> args: [helloworld] [how are you] [today]

Previously, adjacent 'foo''bar' would end up as 2 args like [foo] [bar]. Now
they are properly concatenated into one [foobar] argument.

This also fixes the cases of whitespace being inserted after quoted arguments.
2024-10-29 10:19:46 -07:00
..
Core Fix split_line() quoting to be more sh-like 2024-10-29 10:19:46 -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 Fix split_line() quoting to be more sh-like 2024-10-29 10:19:46 -07:00