Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 'export -p' lacks POSIX output



On Sat, 22 Oct 2016 11:24:23 -0700
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Oct 22,  5:02am, Martijn Dekker wrote:
> } Subject: 'export -p' lacks POSIX output
> }
> } The command 'export -p' always outputs 'typeset' commands. If
> } POSIXBUILTINS is active, it should output 'export' commands.
> 
> Would anyone object if this just happened all the time, rather than
> depending on POSIXBUILTINS + "export"?

That sounds reasonable and probably clearer; the one thing to be careful
about is that "export" is actually equivalent to "typeset -gx".

pws



Messages sorted by: Reverse Date, Date, Thread, Author