Environment variables cannot have arbitrary names. In particular, the “?” and “-” characters are not allowed. How can we name an option/schema item with such a name in an environment variable?
Some shells (only fish?) treat list-valued environment variables unusually:
set -x FOO bar baz
results in an environment entry FOO=bar\x1ebaz
where the \x1e
character is apparent the “information separator”.
Should we use foo\.bar
or "foo.bar"
?
- Think through
- Document
- Implement
Maybe use text.source-location for all error reports?
Something like
("foo"
(("bar" "baz") 1)
("fez" t))
(if (string= (machine-type) "x86_64")
(value "foo.bar.dir" "foo/x86_64")
(values "foo.baz.dir" "foo"))
- foo:
- bar:
- baz: 1
- fez: true
[foo.bar]
baz = 1
[foo]
fez = true
<configuration>
<option name="foo.bar.baz">1</option>
<option name="foo.fez">true</option>
</configuration>
Do we have something along the lines of makunbound
? If not, add
it.
Print something like <empty>
to avoid confusing empty output.
- options vs. configurations in RSB scopes