Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
prng2021
· 3y ago · 0 comments
Can you provide a concrete example? What do you mean by other software not parsing it the same way?
Comments
[–]
3np
3y ago
FOO="abc BAR=123"
Is this one or two vars? What is the value of FOO?
[–]
prng2021
OP
3y ago
I've never seen something like this in an env file. No one should be putting lines like this in an env file unless it's by mistake.
[–]
3np
3y ago
Your personal opinion of how esoteric or weird this is is besides the point - there are fundamentally incompatible interpretations where I can bet that switching will be breaking and potentially dangerous for some out there.
[–]
moojd
3y ago
Some execute them as a shell script and others parse them as a newline separated list of key value pairs