ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/net TelnetTask.java
Date Wed, 20 Mar 2002 08:42:29 GMT
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.

Stefan

--
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