ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject RE: Redirection
Date Wed, 28 Feb 2001 01:39:40 GMT
--- "Rajagopal.V" <raja0576@usa.net> wrote:
> Hi
> Im new to ant and wud like to takke thet output of a PWD and sed thru it
> to get my variable.like
> echo ${PWD} | sed 's/.../../g'
> 
> How do  i do this in Ant. any pointers.
> How can i redirect the i/p from echo command. Do i have to store it in a
> file and use that for sed.

See
  http://marc.theaimsgroup.com/?l=ant-user&m=97205506901761&w=2
for examples of how to do pipes and redirects using <exec>.

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Mime
View raw message