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
..
2024-09-19 13:55:08 -07:00
2024-10-23 12:34:27 -07:00
2024-03-31 15:16:25 -07:00
2024-10-29 10:19:46 -07:00
2023-01-02 16:54:27 -08:00
2023-02-20 21:31:52 -08:00
2021-11-19 18:05:50 -08:00
2021-11-19 18:05:50 -08:00
2021-11-19 18:05:50 -08:00
2021-11-19 18:05:50 -08:00
2024-09-19 13:55:08 -07:00
2024-04-10 13:32:16 -07:00
2021-11-19 18:05:50 -08:00
2021-11-19 18:05:50 -08:00
2023-02-20 21:31:52 -08:00
2023-02-20 21:31:52 -08:00
2023-02-20 21:31:52 -08:00
2021-11-19 18:05:50 -08:00
2023-02-20 21:31:52 -08:00
2023-05-04 12:19:22 -07:00
2023-02-20 21:31:52 -08:00
2023-02-20 21:31:52 -08:00
2021-11-19 18:05:50 -08:00
2023-02-20 21:31:52 -08:00
2021-11-19 18:05:50 -08:00
2023-02-20 21:31:52 -08:00
2023-02-20 21:31:52 -08:00
2021-11-19 18:05:50 -08:00
2023-02-20 21:31:52 -08:00
2021-11-19 18:05:50 -08:00
2021-11-19 18:05:50 -08:00
2022-08-12 13:02:00 -07:00
2021-11-19 18:05:50 -08:00
2023-02-20 21:31:52 -08:00
2021-11-19 18:05:50 -08:00
2023-02-20 21:31:52 -08:00
2023-02-20 21:31:52 -08:00
2021-11-19 18:05:50 -08:00
2021-11-19 18:05:50 -08:00
2024-03-10 12:34:42 -07:00
2023-02-20 21:31:52 -08:00
2023-02-20 21:31:52 -08:00
2021-11-19 18:05:50 -08:00
2023-02-20 21:31:52 -08:00
2022-08-08 18:30:35 -07:00
2022-08-08 18:30:35 -07:00
2022-08-12 13:02:00 -07:00
2021-11-19 18:05:50 -08:00
2022-08-08 18:30:35 -07:00
2022-08-08 18:30:35 -07:00
2022-08-12 13:02:00 -07:00
2022-08-07 19:10:34 -07:00
2022-08-08 18:30:35 -07:00
2022-08-12 13:02:00 -07:00
2021-11-19 18:05:50 -08:00
2021-11-19 18:05:50 -08:00
2023-02-20 21:31:52 -08:00
2023-02-20 21:31:52 -08:00
2021-11-19 18:05:50 -08:00
2021-11-19 18:05:50 -08:00
2022-04-08 09:10:07 -07:00
2023-03-23 18:20:22 -07:00
2024-04-07 17:18:34 -07:00
2023-02-20 21:31:52 -08:00
2024-10-02 20:13:45 -07:00
2022-06-27 20:35:02 -07:00