[vox-tech] ksh question

Jay Strauss vox-tech@lists.lugod.org
Fri, 25 Jan 2002 16:38:03 -0600


I guess its guaranteed not to get any response either :(

----- Original Message ----- 
From: "Jay Strauss" <jjstrauss@yahoo.com>
To: "vox-tech" <vox-tech@lists.lugod.org>
Sent: Friday, January 25, 2002 11:29 AM
Subject: [vox-tech] ksh question


> Ok, a question guaranteed not to get flamed, or start a war.
> 
> I want one environmental variable to equal another (dynamically all the
> time) but I can't figure it out.  That is I want the behavior of:
> 
> export PS1='$PWD'
> 
> For example, this is what I'd like to happen (though I can't get it to
> work):
> 
> pete=one
> repeat=$pete
> echo $repeat
> one
> pete=two
> echo $repeat
> two
> 
> 
> Thanks
> Jay
> 
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com