zsh-workers
 help / color / mirror / code / Atom feed
* missing `export' option -p
@ 2001-06-06  5:38 Andrej Borsenkow
  2001-06-06  7:04 ` Clint Adams
  2001-06-06  9:35 ` Peter Stephenson
  0 siblings, 2 replies; 3+ messages in thread
From: Andrej Borsenkow @ 2001-06-06  5:38 UTC (permalink / raw)
  To: ZSH Workers Mailing List

While looking for field splitting case:

export name[=word]...
export -p
...
When -p is specified, export will write to the standard output the names and
values of all exported variables, in the following format:


"export %s=%s\n", <name>, <value>

<http://www.opengroup.org/onlinepubs/007908799/xcu/chap2.html#tag_001_014_00
8>

-andrej




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: missing `export' option -p
  2001-06-06  5:38 missing `export' option -p Andrej Borsenkow
@ 2001-06-06  7:04 ` Clint Adams
  2001-06-06  9:35 ` Peter Stephenson
  1 sibling, 0 replies; 3+ messages in thread
From: Clint Adams @ 2001-06-06  7:04 UTC (permalink / raw)
  To: Andrej Borsenkow; +Cc: ZSH Workers Mailing List


> export name[=word]...
> export -p
> ...

'readonly -p' should also be supported under POSIX_BUILTINS


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: missing `export' option -p
  2001-06-06  5:38 missing `export' option -p Andrej Borsenkow
  2001-06-06  7:04 ` Clint Adams
@ 2001-06-06  9:35 ` Peter Stephenson
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Stephenson @ 2001-06-06  9:35 UTC (permalink / raw)
  To: Zsh hackers list

"Andrej Borsenkow" wrote:
> When -p is specified, export will write to the standard output the names and
> values of all exported variables, in the following format:
> 
> 
> "export %s=%s\n", <name>, <value>

It also says <value> needs suitable quoting.  We already do this in a lot
of other places, it's surprising we haven't thought of doing it here.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-06-06  9:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-06  5:38 missing `export' option -p Andrej Borsenkow
2001-06-06  7:04 ` Clint Adams
2001-06-06  9:35 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).