3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-17 09:29:30 +01:00
pbot/applets/pbot-vm/host
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
..
bin pbot-vm: make clang2x default language; add -Wno-unused-variable 2024-09-19 13:51:57 -07:00
config pbot-vm: massive refactor 2024-04-10 01:21:18 -07:00
devices pbot-vm: massive refactor 2024-04-10 01:21:18 -07:00
history Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
lib Fix split_line() quoting to be more sh-like 2024-10-29 10:19:46 -07:00