ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: fileset question
Date Wed, 22 Nov 2000 15:51:37 GMT
Jason Gilbreath <jgilbreath@solant.com> wrote:

> 	<exec executable="sh" dir="new" output="thefile.txt">
> 		<arg value="-c &quot;cat new/beginfile.txt | sed -e
> 's/$/\/**/g'&quot;" />
> 	</exec>

> This errors out explaining that I can't have double and single
> quotes in the same argument.

Does this work?

 	<exec executable="sh" dir="new" output="thefile.txt">
 		<arg value="-c" />
                <arg value="cat new/beginfile.txt | sed -e 's/$/\/**/g'" />
 	</exec>

Stefan

Mime
View raw message