[WebDNA] Check for Ending Carriage Return

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102183
interpreted = N
texte = Hello!, linux OS / WebDNA 6.0a.. There may be an easy solution for this, but I am a bit stumped on a solution that doesn't have the potential to task the CPU. I need to make sure there is an ending carriage return in a webdna database (table), on the fly. Since I'm on a linux machine, I do have access to the shell. I was thinking If I could use a shell command line to grab the last line of the database, I could zap that into a text variable and check for the carriage return in that variable. Or maybe easier, maybe there is a shell line that would just grab the last character in a file? (I could do the checks from there) Thanks for the thoughts! 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)
Hello!, linux OS / WebDNA 6.0a.. There may be an easy solution for this, but I am a bit stumped on a solution that doesn't have the potential to task the CPU. I need to make sure there is an ending carriage return in a webdna database (table), on the fly. Since I'm on a linux machine, I do have access to the shell. I was thinking If I could use a shell command line to grab the last line of the database, I could zap that into a text variable and check for the carriage return in that variable. Or maybe easier, maybe there is a shell line that would just grab the last character in a file? (I could do the checks from there) Thanks for the thoughts! 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:

[input] [/input] (1997) Webcatalog 4.02b5 Mac OS X headers (2000) HTTP header line is too long? (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) Attn iTools / WebCat users.... (2004) Re:listfiles-looking for slick solution (1997) Possible Macv2.1b2 Merge Bug (1997) invoice.tpl (1998) Post arguments problem mac? (1997) Replacing entry (1998) WebCat and image maps (1997) Re2: frames & carts (1997) no global [username] or [password] displayed ... (1997) RE: textA and Title? (1997) HTML Editors (1997) RE: 2nd WebCatalog2 Feature Request (1996) Shopping Cart Best Practices (2006) Webcatalog server support (1997) [ShowNext] feature in 2.0 (1997) BW in a search (2007)