Re: [WebDNA] Check for Ending Carriage Return

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102196
interpreted = N
texte = O.K., Here is what I came up with: [!] ** Check for ending carriage return ** [/!] [text]LastCharacter=[!] [/!][grep search=[%0D%0A%20]&replace=][!] [/!][shell]tail -c 1 test.db | od[/shell][!] [/!][/grep][/text]  [hideif 00000000000120000001=[url][LastCharacter][/url]] [text multi=T]tOk=F&Error=carriage return missing[/text] [/hideif] Seems to work, but is only good on *nix systems... checks for CRLF (*nix format). Donovan -- Donovan D. Brooke PH: 1 (608) 770-3822 ------------------------------------------------ VP WebDNA Software Corporation 16192 Coastal Highway Lewes, DE 19958 Associated Messages, from the most recent to the oldest:

    
  1. RE: [WebDNA] Check for Ending Carriage Return ("Olin Lagon" 2009)
  2. Re: [WebDNA] Check for Ending Carriage Return (Donovan Brooke 2009)
  3. [WebDNA] Check for Ending Carriage Return (Donovan Brooke 2009)
O.K., Here is what I came up with: [!] ** Check for ending carriage return ** [/!] [text]LastCharacter=[!] [/!][grep search=[%0D%0A%20]&replace=][!] [/!][shell]tail -c 1 test.db | od[/shell][!] [/!][/grep][/text]  [hideif 00000000000120000001=[url][LastCharacter][/url]] [text multi=T]tOk=F&Error=carriage return missing[/text] [/hideif] Seems to work, but is only good on *nix systems... checks for CRLF (*nix format). Donovan -- Donovan D. Brooke PH: 1 (608) 770-3822 ------------------------------------------------ VP WebDNA Software Corporation 16192 Coastal Highway Lewes, DE 19958 Donovan Brooke

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:

using listfiles to build a database? more (2000) DNS Lookup 2 (2000) WebCat2b15MacPlugin - showing [math] (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) [Sum] function? (1997) Bug Report, maybe (1997) [subTotal] pricefield in another database !? (1998) Problems setting MIME Headers (1998) www.smithmicro.com down? (2000) Calculating multiple shipping... (1997) [WebDNA] Serial numbers and pricing for WebDNA 7.0 (2011) How To question on setting up downloads (1997) New Server? (2006) Setting up WebCatalog with Retail Pro data (1996) Press Release hit the NewsWire!!! (1997) Setting up WebCatalog with Retail Pro data (1996) WC 4 could not find tpl files (2000) Nested tags count question (1997) Accounting System and WebCatalog/WebMerchant (2000) 2.0 Info (1997)