ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: concat files ?
Date Thu, 22 Nov 2001 06:28:06 GMT
On Wed, 21 Nov 2001, Bill Burton <billb@progress.com> wrote:

> You could do this on UNIX without an external script but you would
> have to execute the entire command line through /bin/sh -c "cat
> file1 file2 file3 >>target_file".

wouldn't 

<exec executable="cat" output="target_file">
  <arg file="file1" />
  <arg file="file2" />
  <arg file="file3" />
</exec>

work as well - without the need for shell redirects?

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message