You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by James Bullington <sh...@yahoo.com> on 2001/11/19 14:52:35 UTC
Special characters in manual?
Are special characters in the manual?
I was having a problem with my ant script in which I was using telnet
to rename some of my files. This was done because of a bug in BEA
Weblogic 6.1s T3File access.
The line was:
<write string="for file in *.xml ; do mv $file null$file ; done"/>
When I watched my build script work, I noticed that the dollar signs
($) dissappeared. My first thought was that the dollar signs were
special characters, so I doubled each of them and the script worked
fine.
Is it documented anywhere in the manual that the dollar sign is a
special character, AND, are there any more special characters?
Thanks,
Jim
=====
"Those who live in the shelter of the Most High will find rest in the shadow of the Almighty.
This I declare of the Lord: He alone is my refuge, my place of safety; he is my God, and I am trusting him�"
Psalms 91:1-2 (New Living Translation)
__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Special characters in manual?
Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 19 Nov 2001, James Bullington <sh...@yahoo.com> wrote:
> When I watched my build script work, I noticed that the dollar signs
> ($) dissappeared.
Yes, $ is special and needs to be escaped by yet another $.
Stefan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Special characters in manual?
Posted by Don Taylor <do...@yahoo.com>.
Yes, '$' is a special character in Ant. It precedes a property name to
dereference the value of the property. Look at the manual under
properties. AFAIK there are no other special characters in Ant.
--- James Bullington <sh...@yahoo.com> wrote:
> Are special characters in the manual?
>
> I was having a problem with my ant script in which I was using telnet
> to rename some of my files. This was done because of a bug in BEA
> Weblogic 6.1s T3File access.
>
> The line was:
>
> <write string="for file in *.xml ; do mv $file null$file ; done"/>
>
> When I watched my build script work, I noticed that the dollar signs
> ($) dissappeared. My first thought was that the dollar signs were
> special characters, so I doubled each of them and the script worked
> fine.
>
> Is it documented anywhere in the manual that the dollar sign is a
> special character, AND, are there any more special characters?
>
> Thanks,
> Jim
>
> =====
> "Those who live in the shelter of the Most High will find rest in the
> shadow of the Almighty.
> This I declare of the Lord: He alone is my refuge, my place of
> safety; he is my God, and I am trusting him�"
>
> Psalms 91:1-2 (New Living Translation)
>
> __________________________________________________
> Do You Yahoo!?
> Find the one for you at Yahoo! Personals
> http://personals.yahoo.com
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
=====
Don Taylor, Developer
ACTS, Inc.
http://www.actsi.com
__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>