Re: adding a crlf
- From: Stanimir Stamenkov <s7an10@xxxxxxxxxxxx>
- Date: Thu, 28 Feb 2008 23:43:43 +0200
Thu, 28 Feb 2008 11:09:55 -0800 (PST), /tmw/:
I am currently running a process in ANT to handle the file and was hoping that I could achieve this by using an already existing ANT task ( replace?, replaceregexp?)[...]
example of data in file:
some text in file that goes like this and keeps going with no returns in it but i want to add some to reformat the file.
what i would want the output to be after processing - by adding a crlf after every 10th character in the file:
some text
in file t
hat goes l
ike this a
May be something like:
<replaceregexp file="..." byline="true"
match=".{10}" replace="\1\r\n" />
--
Stanimir
.
- Follow-Ups:
- Re: adding a crlf
- From: tmw
- Re: adding a crlf
- References:
- adding a crlf
- From: tmw
- adding a crlf
- Prev by Date: You have to see this - http://ilaarijs.blogspot.com/ :D
- Next by Date: Re: Why is Applet Slower than Application?
- Previous by thread: Re: adding a crlf
- Next by thread: Re: adding a crlf
- Index(es):