Re: OS X Line Endings HELL [solved]
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 53332
interpreted = N
texte = I added the following shell context that updates the line endings after eachdatabase modification:[shell]perl -pi -e 's/\r/\n/g' DEALERS.TXT[/shell]On 10/10/03 10:47 AM, "Clint Davis"
wrote:> WebDNA 4.5.1 on MacOS X 10.2.6> > Since this is a unix-based operating system, why is WebDNA converting my> databases to Mac line endings every time I edit them with an append or> replace context?> > I'm trying to add/edit/delete records in a database using WebDNA - BUT this> same database is searched using a Perl CGI. When WebDNA changes the line> endings to Mac, my CGI cannot search the database correctly!> > What are my options?---------------------------------------------------------------------Clint DavisWebmaster / Interactive Media SpecialistGray Loon Marketing Group, Inc. http://www.grayloon.com204 Main Street | Evansville, IN 47708 | Phone:812-422-9999----------------------------------------------------------------------------------------------------------------------------------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:
|
- Re: OS X Line Endings HELL [solved] ( Clint Davis 2003)
|
I added the following shell context that updates the line endings after eachdatabase modification:[shell]perl -pi -e 's/\r/\n/g' DEALERS.TXT[/shell]On 10/10/03 10:47 AM, "Clint Davis" wrote:> WebDNA 4.5.1 on MacOS X 10.2.6> > Since this is a unix-based operating system, why is WebDNA converting my> databases to Mac line endings every time I edit them with an append or> replace context?> > I'm trying to add/edit/delete records in a database using WebDNA - BUT this> same database is searched using a Perl CGI. When WebDNA changes the line> endings to Mac, my CGI cannot search the database correctly!> > What are my options?---------------------------------------------------------------------Clint DavisWebmaster / Interactive Media SpecialistGray Loon Marketing Group, Inc. http://www.grayloon.com204 Main Street | Evansville, IN 47708 | Phone:812-422-9999----------------------------------------------------------------------------------------------------------------------------------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/
Clint Davis
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:
More on the email templates (1997)
Forms Search Questions (1997)
ooops...WebCatalog [FoundItems] Problem - LONG - (1997)
WebCat editing, SiteGuard & SiteEdit (1997)
Bug Report, maybe (1997)
WCf2 and nested tags (1997)
Bug or syntax error on my part? (1997)
[WebDNA] Authentication across domains (2009)
form data submission gets truncated (1997)
[returnraw] and form variables (1998)
[WebDNA] windows ssh client? (2009)
[WebDNA] "Technical Reference" link broken in admin (2013)
Email Formatting (1998)
[FEATURE REQUEST] (2004)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
WSDL Wizard (2003)
What is WebDNA (1997)
two unique banners on one page (1997)
bug in [SendMail] (1997)
credit card services (1997)