ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: How to join lines into one line?
Date Tue, 25 May 2004 05:51:00 GMT
Multiple choises, all basing on the idea of deleting the linefeed.

1) <regexp>
2) <filterchain> <striplinebreaks/> </filterchain>


Jan


> -----Original Message-----
> From: Zsolt Koppany [mailto:zkoppanylist@intland.com]
> Sent: Monday, May 24, 2004 8:12 PM
> To: Ant Users List
> Subject: How to join lines into one line?
> 
> 
> Hi,
> 
> how can I join SQL statements into one line (I have a lot of 
> statements in
> an SQL file)?
> 
> Here is an example:
> 
> INSERT INTO acl_dfl_acc(id,name) VALUES
> 	(1, 'Project - Admin'),
> 	(2, 'Executive'),
> 	(3, 'Developer'),
> 	(4, 'Partner'),
> 	(5, 'Customer');
> 
> I would like to join the lines above into a single line.
> 
> Zsolt
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message