ta, that seems to be it. I'd tried adding that in after the event, and thought it was making no difference, but of course the file was already double spaced from the earlier run when i hadn't put in the addnewline attribute. Now just have to go through about 30 files changing them all back to single spacing.
Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:duncan.cumming@;alienationdesign.co.uk Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- Rich Wild <r.wild@e-man To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> go.com> cc: Subject: RE: [ cf-dev ] CFFile double lines 11/07/02 04:04 PM Please respond to dev set the addnewline attribute of cffile to "no" > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:duncan.cumming@;alienationdesign.co.uk] > Sent: 07 November 2002 16:04 > To: [EMAIL PROTECTED] > Subject: [ cf-dev ] CFFile double lines > > > I'm using CFFile to read in a file, doing a REReplaceNoCase > on some of the > content, then using CFFile to write the new content back to the file. > However it's adding blank lines in between every line. Which probably > wouldn't be a huge problem, apart from the fact these files > are full of > blocks of <pre> code, so it's really affecting the display. > How do I stop > this happening? > > I know there's the Search > Replace Double spacing with Single spacing > option in CF Studio; something like that would be ideal. I'm guessing > another regex to remove the line breaks or something. > > > Duncan Cumming > IT Manager > > http://www.alienationdesign.co.uk > mailto:duncan.cumming@;alienationdesign.co.uk > Tel: 0141 575 9700 > Fax: 0141 575 9600 > > Creative solutions in a technical world > > ---------------------------------------------------------------------- > Get your domain names online from: > http://www.alienationdomains.co.uk > Reseller options available! > ---------------------------------------------------------------------- > ---------------------------------------------------------------------- > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
