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 each database 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 Davis Webmaster / Interactive Media Specialist Gray Loon Marketing Group, Inc. http://www.grayloon.com 204 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:

    
  1. Re: OS X Line Endings HELL [solved] ( Clint Davis 2003)
I added the following shell context that updates the line endings after each database 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 Davis Webmaster / Interactive Media Specialist Gray Loon Marketing Group, Inc. http://www.grayloon.com 204 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:

HELP! Search finding too much! (1998) Multiple download orders of the same product? (1997) Hide Ifs (2000) ReturnRaw context (1997) AppleShare IP 6.1 (1998) Shopping Cart Problem (1998) Free shipping (2000) RE: Personal Web Server combined with Webcatalog 2.1 (1998) Security Issues and WebCommerce Solution (1997) [WebDNA] writing pdfs on the fly (Avery labels #5160) (2010) Another bug to squash (WebCat2b13 Mac .acgi) (1997) Dismissing dialogs (was 2.1b3 --> way slow) (1997) Frames and WebCat (1997) Are you an WC expert? (1997) Trouble with formula.db (1997) New Web Site Developers Database (1996) Variable Prices (1998) Can't Search field (1998) searching numbers (1998) FlushDatabase Suggestion (1998)