[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to do? Possible?

From: Bob Proulx
Subject: Re: How to do? Possible?
Date: Mon, 25 Jul 2011 17:47:08 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

Linda Walsh wrote:
> I didn't know why it behaved differently, but as you informed me
> the difference is 'one's well-defined, and the other is not, I can
> see why there 'could' be a difference... ;-)
> (which of course could change tomorrow, I suppose..)

Not the second well defined case.  It can't change without being in
conflict with the standards.  You would always be safe to use it in
any standard conforming shell.

If you are still not convinced then consider these next two examples.

  printfoovar() { echo $foo ;}
  ( printfoovar )

  printfoovar() { eval echo \$$foo ;}
  ( printfoovar )


reply via email to

[Prev in Thread] Current Thread [Next in Thread]