Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
'export -p' lacks POSIX output
- X-seq: zsh-workers 39701
- From: Martijn Dekker <martijn@xxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: 'export -p' lacks POSIX output
- Date: Sat, 22 Oct 2016 05:02:55 +0200
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
The command 'export -p' always outputs 'typeset' commands. If
POSIXBUILTINS is active, it should output 'export' commands.
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_22_03
| When -p is specified, export shall write to the standard output the
| names and values of all exported variables, in the following format:
|
| "export %s=%s\n", <name>, <value>
|
| if name is set, and:
|
| "export %s\n", <name>
|
| if name is unset.
Thanks,
- M.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author