Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!pacbell!premenos!mtdiablo!rob From: rob@mtdiablo.Concord.CA.US (Rob Bernardo) Newsgroups: comp.unix.shell Subject: Re: KSH-How do I make a variable run a function upon invocation? Keywords: KSH function variable assignment substitution Message-ID: <1991Apr12.142530.27400@mtdiablo.Concord.CA.US> Date: 12 Apr 91 14:25:30 GMT References: <1991Apr10.035042.3008@ux1.cso.uiuc.edu> <10009@mentor.cc.purdue.edu> <1991Apr10.190259.9524@ux1.cso.uiuc.edu> Organization: Mt. Diablo Software Solutions Lines: 9 jeffo@uiuc.edu wrote: >If I just had a way for ${PS1} to run a function without changing the value of >${PS1}, I'd be set. I don't think you can. PS1 is *evaluated* before use, but not "run". -- Rob Bernardo Mt. Diablo Software Solutions email: rob@mtdiablo.Concord.CA.US phone: (415) 827-4301