----- Original Message -----
From: "Stefan Bodewig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 20, 2002 12:42 AM
Subject: Re: cvs commit:
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/net
TelnetTask.java


> On Tue, 19 Mar 2002, Steve Loughran <[EMAIL PROTECTED]> wrote:
>
> >> <write>export PATH=${PATH}:${HOME}/bin</write>
> >
> > what shell is that?
>
> Bourne shell.
>
> OK, bash in this case, sh if your change it to
>
> <write>PATH=${PATH}:${HOME}/bin; export PATH</write>
>
> ${foo} is the same as $foo and is used to make the name of the
> variable unambiguos - ${foo}bar instead of $foobar.
>
> From bash's manual page
>
>        ${parameter}
>               The  value of parameter is substituted.  The braces
>               are required when parameter is a positional parame-
>               ter  with more than one digit, or when parameter is
>               followed by a character which is not to  be  inter-
>               preted as part of its name.
>

ok; I had only ever used it in ambiguous form

...so what do we do? revert the change and doc it? or add an attr to
enable/disable property expansion?


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to