ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/net TelnetTask.java
Date Wed, 20 Mar 2002 08:54:57 GMT

----- Original Message -----
From: "Stefan Bodewig" <bodewig@apache.org>
To: <ant-dev@jakarta.apache.org>
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 <steve_l@iseran.com> 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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message