Subject: Re: bin/1945: env produces uneval'able output...
To: None <Chris_G_Demetriou@NIAGARA.NECTAR.CS.CMU.EDU>
From: Greg Hudson <firstname.lastname@example.org>
Date: 01/15/1996 19:16:52
> Why do you say this? Nothing that i can find (documentation,
> implementations; i don't have P.2) says that 'env' should produce
> sh-parsable output...
POSIX.2 forbids quoting shell metacharacters:
[4.21 is the specification of the env command.]
188.8.131.52 Standard Output
If no utility operand is specified, each name=value pair in
the resulting environment shall be written in the form:
"%s=%s\n", <name>, <value>
If the utility operand is specified, the env utility shall not
write to standard output.