Re: DB Line endings
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42341
interpreted = N
texte = This solution ROCKS Alain! It will be useful for what I want, AND we werelooking for a way to do just this with some files we're transferring so itwill definitely help us with that too. Thank you so muchOn 8/7/02 1:10 AM, Alain Russell mashed the following keys :> This means the db was created with mac line feeds and then uploaded ..> You can either download into bbedit and save with unix line breaks or stop> webcat and run aperl script over the files affected ..> > first create an alias to make life easier ..> alias mac2unix perl -pi -e 'tr/\015/\012/' \!*> > then when you encounter a file with the wrong breaks ..> % mac2unix filename.extension> > you could even do this in webcat> [closedatabase db=dbname.db]> [shell]mac2unix dbname.db[/shell]> -I think this would work anyway ..> > HTH> Alain> >> Whenever I open a database in a unix app such as pico, more or tail on>> our new OSX machine;>> >> I get stuff like: line1^Mline2^Mline3^M>> >> Rather than>> line1>> line2>> line3>> >> Is there a way to get webcat to store it's DB's so that regular unix>> tools grok their line feeds?>> >> >> ------------------------------------------------------------->> 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://search.smithmicro.com/> -------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
This solution ROCKS Alain! It will be useful for what I want, AND we werelooking for a way to do just this with some files we're transferring so itwill definitely help us with that too. Thank you so muchOn 8/7/02 1:10 AM, Alain Russell mashed the following keys :> This means the db was created with mac line feeds and then uploaded ..> You can either download into bbedit and save with unix line breaks or stop> webcat and run aperl script over the files affected ..> > first create an alias to make life easier ..> alias mac2unix perl -pi -e 'tr/\015/\012/' \!*> > then when you encounter a file with the wrong breaks ..> % mac2unix filename.extension> > you could even do this in webcat> [closedatabase db=dbname.db]> [shell]mac2unix dbname.db[/shell]> -I think this would work anyway ..> > HTH> Alain> >> Whenever I open a database in a unix app such as pico, more or tail on>> our new OSX machine;>> >> I get stuff like: line1^Mline2^Mline3^M>> >> Rather than>> line1>> line2>> line3>> >> Is there a way to get webcat to store it's DB's so that regular unix>> tools grok their line feeds?>> >> >> ------------------------------------------------------------->> 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://search.smithmicro.com/> -------------------------------------------------------------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://search.smithmicro.com/
Aaron Lynch
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:
another problem (1997)
OT - Mail Solution (2002)
popups, netscape vs explorer (1997)
[Webcat 2]Next (1997)
View order not right (1997)
Pop-Up Redirects (1998)
[append] vs. [appendfile] delta + question? (1997)
Security Tip (1996)
serial number generation (1997)
includes (2003)
Associative lookup style? + bit more (1997)
Limit on nested [ShowIf]'s? (1997)
suffix mapping for NT? (1997)
Which is Faster (1998)
Getting URL's entered manually (1997)
Generating and appending SKU to a db automatically (1998)
Add more fields to an existent data base (1997)
Replace Statement (1997)
TRAINING videos - Prove IT. (1998)
forms and variables (1998)