* [9front] rc: value component separators
@ 2024-07-12 21:58 Romano
2024-07-12 23:15 ` [9front] " Anthony Martin
0 siblings, 1 reply; 3+ messages in thread
From: Romano @ 2024-07-12 21:58 UTC (permalink / raw)
To: 9front
In the Plan9 rc(1) manual and in p9p's rc(1) manual,
SOH/ctrl-a/\001 is used to separate component values. In
the 9front rc(1) manual \000 is used. I briefly grepped
the git log to see if I could find the commit which explained
the reason for the change (e.g., 'cd /sys/src/cmd/rc;
git/log . | grep separator', 'git/log . | grep component')
but didn't find anything. I also searched the mailing list
for 'rc SOH'/'rc 000'/'rc separator', but didn't find
any thread discussing it.
Does anyone remember the reasoning?
^ permalink raw reply [flat|nested] 3+ messages in thread
* [9front] Re: rc: value component separators
2024-07-12 21:58 [9front] rc: value component separators Romano
@ 2024-07-12 23:15 ` Anthony Martin
2024-07-13 6:04 ` Romano
0 siblings, 1 reply; 3+ messages in thread
From: Anthony Martin @ 2024-07-12 23:15 UTC (permalink / raw)
To: 9front
Romano <me+unobe@fallglow.com> once said:
> In the Plan9 rc(1) manual and in p9p's rc(1) manual,
> SOH/ctrl-a/\001 is used to separate component values. In
> the 9front rc(1) manual \000 is used. I briefly grepped
> the git log to see if I could find the commit which explained
> the reason for the change (e.g., 'cd /sys/src/cmd/rc;
> git/log . | grep separator', 'git/log . | grep component')
> but didn't find anything. I also searched the mailing list
> for 'rc SOH'/'rc 000'/'rc separator', but didn't find
> any thread discussing it.
>
> Does anyone remember the reasoning?
It's not a code change in 9front. Only the manual was corrected.
Rc has always used '\0' to separate list values on Plan 9. On Unix,
it uses '\1' because the environment is a pointer to an array of
NUL-terminated strings.
Cheers,
Anthony
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9front] Re: rc: value component separators
2024-07-12 23:15 ` [9front] " Anthony Martin
@ 2024-07-13 6:04 ` Romano
0 siblings, 0 replies; 3+ messages in thread
From: Romano @ 2024-07-13 6:04 UTC (permalink / raw)
To: 9front
Ah, ok, that makes sense now. Thanks, Anthony.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-07-13 6:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-12 21:58 [9front] rc: value component separators Romano
2024-07-12 23:15 ` [9front] " Anthony Martin
2024-07-13 6:04 ` Romano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).