ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Woehr <...@purematrix.com>
Subject Process ID?
Date Mon, 27 Aug 2001 19:12:03 GMT
Is there any way to use '$' in a value in Ant?

I tried the following:

<exec executable="sh" outputproperty="some.pid">
  <arg value="-c"/>
  <arg value="who -T | tail -1 | awk '{print $8}'"/>
 </exec>

But this just comes out '8' ... the $sign gets swallowed.
I trie &#36; instead of $ with about the same results.

--
Jack J. Woehr     # "I never worry that all hell will break loose.
Senior Consultant #  I worry that half hell will break loose, which
Purematrix, Inc.  #  is much harder to detect." - George Carlin



Mime
View raw message