zsh-workers
 help / color / mirror / code / Atom feed
* Re: ksh Emulation Not Clearing Envariables
       [not found] <Pine.LNX.4.44.0405111306180.13856-100000@toltec.zanshin.com>
@ 2004-05-11 20:52 ` Chris Jepeway
  2004-05-11 23:33   ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Jepeway @ 2004-05-11 20:52 UTC (permalink / raw)
  To: zsh-workers

>
> [It's almost time to move this to zsh-workers.]
Done.

> "Variable assignments specified with" refers to this:
>
>> It's outside, put into the environment before the [built-in] is  
>> called.
Thanks.  Chet & the spec have set me straight, here, too.
>
> E.g.
>
> 	CDPATH=
> 	CDPATH=/tmp cd foo
> 	echo $CDPATH
>
> should output "/tmp", because "cd" is a special built-in.
Just to be silly, I'll point out that "cd" doesn't
appear on the list of special built-ins at

	http://www.opengroup.org/onlinepubs/009695399/idx/sbi.html

which is referenced from the section describing the sbi's at

	http://www.opengroup.org/onlinepubs/009695399/utilities/ 
xcu_chap02.html#tag_02_14
	
An oversight?

> Bart Shaefer
Chris.


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

* Re: ksh Emulation Not Clearing Envariables
  2004-05-11 20:52 ` ksh Emulation Not Clearing Envariables Chris Jepeway
@ 2004-05-11 23:33   ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2004-05-11 23:33 UTC (permalink / raw)
  To: Chris Jepeway; +Cc: zsh-workers

On Tue, 11 May 2004, Chris Jepeway wrote:

>[I wrote:]
> > 	CDPATH=/tmp cd foo
> > 	echo $CDPATH
> >
> > should output "/tmp", because "cd" is a special built-in.
> Just to be silly, I'll point out that "cd" doesn't
> appear on the list of special built-ins
> 	
> An oversight?

Yes, on my part.  I didn't bother to check the list, I just picked a 
builtin that pays attention to an environment variable.


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

end of thread, other threads:[~2004-05-11 23:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.44.0405111306180.13856-100000@toltec.zanshin.com>
2004-05-11 20:52 ` ksh Emulation Not Clearing Envariables Chris Jepeway
2004-05-11 23:33   ` Bart Schaefer

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).