[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 Iam a bit stumped on a solution that doesn't havethe potential to task the CPU.I need to make sure there is an ending carriagereturn in a webdna database (table), on the fly.Since I'm on a linux machine, I do haveaccess to the shell. I was thinking If I coulduse a shell command line to grab the last lineof the database, I could zap that into a textvariable and check for the carriage returnin that variable.Or maybe easier, maybe there is a shell linethat 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------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
Associated Messages, from the most recent to the oldest:
Hello!,linux OS / WebDNA 6.0a..There may be an easy solution for this, but Iam a bit stumped on a solution that doesn't havethe potential to task the CPU.I need to make sure there is an ending carriagereturn in a webdna database (table), on the fly.Since I'm on a linux machine, I do haveaccess to the shell. I was thinking If I coulduse a shell command line to grab the last lineof the database, I could zap that into a textvariable and check for the carriage returnin that variable.Or maybe easier, maybe there is a shell linethat 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------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, 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:
RE: Answer: WebDelivery downloads alias, not original ? (1997)
Changes to the List (1997)
Another bug to squash (WebCat2b13 Mac .acgi) (1997)
Formating found categories (1997)
WebDNA on OS X Tiger (2006)
ShowIf variables (1997)
File Upload (1997)
Quotation Marks in Database (1998)
Warning: 50 [MATH] Variable Limit per page (1998)
WebCat2 - [format thousands] (1997)
Change extension (2000)
Generating unique SKU from [cart] - FIXED! (1997)
GuestBook example (1997)
How do I ad to an existing cart? (2000)
Can someone look at this (2003)
Big Databases (1997)
Emailer (WebCat2) (1997)
Another IfThenElse question.. (2003)
Nested Lookups (1998)
delete and return to founditems (2002)