You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Lee, Michael.M" <Mi...@westgroup.com> on 2003/02/26 23:47:00 UTC
RE: Removing white space in the code
It works perfectly for the jsp files that ended a line of code with a semi
colon. However, it does not work well if it does not have semi colon.
So, I was wondering if there is any command to get rid of just the left
white space, not the return characters.
Thanks in advance!
Michael.
-----Original Message-----
From: Alexey Solofnenko [mailto:A.Solofnenko@mdl.com]
Sent: Wednesday, February 26, 2003 2:37 PM
To: 'Ant Users List'
Subject: RE: Removing whitespace in the code
something like (parallel="true" will execute one command with a very big
argument list):
<apply executable="perl" parallel="true">
<arg value="-p0i.bak"/>
<arg value="-e"/>
<arg value="s/\s{2,}/ /gs"/>
<srcfile/>
<fileset dir="directory" includes="**/*.html"/>
</apply>
- Alexey
--
{ http://trelony.cjb.net/ } Alexey N. Solofnenko
Pleasant Hill, CA (GMT-8 usually)
-----Original Message-----
From: Lee, Michael.M [mailto:Michael.M.Lee@westgroup.com]
Sent: Wednesday, February 26, 2003 12:29 PM
To: 'Ant Users List'
Subject: RE: Removing whitespace in the code
could you please show me an example?
i would really appreciate it.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org