We'll, there's a code walk I should have taken to the next level.

Paul

On Sun, Jun 1, 2025, 2:44 p.m. Steve Simon <[email protected]> wrote:

> if its the libc tokenize(2) then it does shell like tokenizing (rc that
> is) so you can use single quotes to quote stuff, and a double single quote
> to embed one single quote.
>
> -Steve
>
>
> On 1 Jun 2025, at 8:41 am, [email protected] wrote:
>
> 
> I just reviewed the code that handles the command line on rpi where
> sys/src/9/arm64/bootargs.c:/^plan9iniinit handles the command line by
> calling tokenize().  That splits the command line at spaces, without any
> sort of quoting.
> The workaround, such as it is, is to put the offending nobootargs into a
> plan9.ini file, and file a bug requesting quote handling in command line
> parsing.
>
> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
> <https://9fans.topicbox.com/groups/9fans> + participants
> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> <https://9fans.topicbox.com/groups/9fans/T9327ef41fef3598f-M5e2578831ee194ec2e57018e>
>

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T9327ef41fef3598f-Md378594582a149fef9b1548f
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to