[vox-tech] ksh question

Jay Strauss vox-tech@lists.lugod.org
Fri, 25 Jan 2002 11:29:50 -0600


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