Re: VSC-lite testcase# sh_05 293
The specification is very explicit about the output format required --
from the set builtin manual page (you can obtain the
latest spec from http://www.opengroup.org/austin/)
XCU draft 5 page 2297
If no options or arguments are specified, set shall write the names and
values of all shell variables in the collation sequence of the current
locale. Each name shall start on a separate line, using the format:
"%s=%s\n", <name>, <value>
The value string shall be written with appropriate quoting so that it
is suitable for reinput to the shell, setting or resetting, as far as
possible, the variables that are currently set. Read-only variables
cannot be reset; see the description of shell quoting in Section 2.2
(on page 2242).
Whether an extension to include functions is allowable is best determined
by the IEEE. I will file a POSIX 1003.2 interpretation request
to see whether the bash extension is compliant .
regards
Andrew
Reply to: