Re: removing programming logic white space
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 50989
interpreted = N
texte = Hi devaulw,Thanks for the info!-lucasOn Monday, June 9, 2003, at 10:32 AM, devaulw@onebox.com wrote:> This topic is covered extensively in the archives. You can either > wrap the entire page in a grep or convertwords context so that the > whitespace is removed or you can wrap each line ending like this:> [/!][search db=search.db][!]> [/!][numfound][!]>> This way the line endings are commented out. This can be done with a > grep search/replace in BBEdit very easily. Be careful not to remove > the line endings where you need them, for example in a writefile > context.> Or you could get used to the whitespace.>> -----Original Message-----> From: Lucas Rockwell
> Sent: Mon, 9 Jun 2003 10:22:33> To: (WebDNA Talk)> Subject: removing programming logic white space>> Hi all,>> Is there a way to remove the programming logic white space from the > output of a template?>> For instance, if I have a template with 20 lines of WebDNA code (all > of it logic), the resulting html output has 20 blank lines in it. This > is a real annoyance, especially when trying to format email messages.>> Is there a way to have WebDNA not output blank lines and just output > what it's supposed to output?>> Thanks.>> -lucas>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/>>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Hi devaulw,Thanks for the info!-lucasOn Monday, June 9, 2003, at 10:32 AM, devaulw@onebox.com wrote:> This topic is covered extensively in the archives. You can either > wrap the entire page in a grep or convertwords context so that the > whitespace is removed or you can wrap each line ending like this:> [/!][search db=search.db][!]> [/!][numfound][!]>> This way the line endings are commented out. This can be done with a > grep search/replace in BBEdit very easily. Be careful not to remove > the line endings where you need them, for example in a writefile > context.> Or you could get used to the whitespace.>> -----Original Message-----> From: Lucas Rockwell > Sent: Mon, 9 Jun 2003 10:22:33> To: (WebDNA Talk)> Subject: removing programming logic white space>> Hi all,>> Is there a way to remove the programming logic white space from the > output of a template?>> For instance, if I have a template with 20 lines of WebDNA code (all > of it logic), the resulting html output has 20 blank lines in it. This > is a real annoyance, especially when trying to format email messages.>> Is there a way to have WebDNA not output blank lines and just output > what it's supposed to output?>> Thanks.>> -lucas>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/>>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Lucas Rockwell
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Banner Ad & Index.shtml (2000)
Webten + Webcat running smooth (1998)
Another bug to squash (WebCat2b13 Mac .acgi) (1997)
Re(2): MASTER_STORE revision (2002)
form data submission gets truncated (1997)
Shell traceroute (2001)
What date is it anyway? (2004)
Linebreak as a delimiter in listwords? (2003)
Emailer Error code 530? (2002)
Bad card db - *mislabled post* (1999)
[WebDNA] Website almost dead? (2016)
b12 cannot limit records returned and more. (1997)
emailer w/F2 (1997)
[WebDNA] Hosting Solution (2013)
[WebDNA] Poll: Discussion Forum (2009)
Re2: frames & carts (1997)
searching for items that begin with a number (2004)
Multiple postings (2000)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
WebCat B13 Mac CGI -- Frames question (1997)