zsh-workers
 help / color / mirror / code / Atom feed
* avoid $status and $options in POSIX mode
@ 2010-09-17 17:33 Eric Blake
  2010-09-18  3:25 ` Bart Schaefer
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Blake @ 2010-09-17 17:33 UTC (permalink / raw)
  To: zsh-workers

POSIX states "The name space of environment variable names containing 
lowercase letters is reserved for applications. Applications can define 
any environment variables with names from this name space without 
modifying the behavior of the standard utilities."
http://www.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08

Yet, the existence of zsh-magic variables like $status and $options 
infringe upon the right of a user's script to use this namespace for 
their own desires.  For example, see this recent autoconf patch:
http://git.sv.gnu.org/cgit/autoconf.git/commit/?id=23a2c336

It would be really nice if 'emulate sh' could disable zsh magic handling 
of any variables that infringe upon the lower-case namespace reserved 
for applications.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


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

end of thread, other threads:[~2010-09-20  8:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-17 17:33 avoid $status and $options in POSIX mode Eric Blake
2010-09-18  3:25 ` Bart Schaefer
2010-09-18  7:25   ` Bart Schaefer
2010-09-19 21:39     ` Bart Schaefer
2010-09-20  8:45       ` 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).