Re: Dealing with return characters

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58737
interpreted = N
texte = I'd love to use BBedit, but I need to set up a drop folder and let WebDNA do its thing. On Jul 9, 2004, at 3:24 PM, Larry Hewitt wrote: > If you have BBEDIT, I simply load it into BBEDIT; > change '\r\r' to some arbitrary weird character(s) not appearing in > the data ("+*+" for example); > change '\r' to '\t'; > then change the wierd character(s) to '\r' > > You end up with a properly delimited file in about 5 seconds. > > > On Jul 9, 2004, at 11:50 AM, Patrick McCormick wrote: > >> I need to populate a db from text files. Text file has return >> character between what will be each field and two returns between >> what will become records: >> >> Name1 >> Addr1 >> City1, St1, Zip1 >> >> Name2 >> Addr2 >> City2, St2, Zip2 >> >> . >> . >> . >> >> I can convert all the returns to tabs or something else, but I need >> to distinguish between single and double returns to maintain >> individual records. What's the easiest way? >> >> Thanks, >> Pat >> >> >> ------------------------------------------------------------- >> 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/ >> >> > > > Larry Hewitt360.807.1100 OFFICE > HCO, LLC360.807.1103 FAX > 1133 Kresky NE #106360.508.6231 CELL > Centralia, WA 98531larryh@hewittco.com > www.hewittco.comwww.votewashington.org > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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: Dealing with return characters ( Brian B. Burton 2004)
  2. Re: Dealing with return characters ( Patrick McCormick 2004)
  3. Re: Dealing with return characters ( Larry Hewitt 2004)
  4. Re: Dealing with return characters ( Donovan Brooke 2004)
  5. Re: Dealing with return characters ( Patrick McCormick 2004)
  6. Re: Dealing with return characters ( Brian B. Burton 2004)
  7. Re: Dealing with return characters ( Brian B. Burton 2004)
  8. Re: Dealing with return characters ( Patrick McCormick 2004)
  9. Re: Dealing with return characters ( Patrick McCormick 2004)
I'd love to use BBedit, but I need to set up a drop folder and let WebDNA do its thing. On Jul 9, 2004, at 3:24 PM, Larry Hewitt wrote: > If you have BBEDIT, I simply load it into BBEDIT; > change '\r\r' to some arbitrary weird character(s) not appearing in > the data ("+*+" for example); > change '\r' to '\t'; > then change the wierd character(s) to '\r' > > You end up with a properly delimited file in about 5 seconds. > > > On Jul 9, 2004, at 11:50 AM, Patrick McCormick wrote: > >> I need to populate a db from text files. Text file has return >> character between what will be each field and two returns between >> what will become records: >> >> Name1 >> Addr1 >> City1, St1, Zip1 >> >> Name2 >> Addr2 >> City2, St2, Zip2 >> >> . >> . >> . >> >> I can convert all the returns to tabs or something else, but I need >> to distinguish between single and double returns to maintain >> individual records. What's the easiest way? >> >> Thanks, >> Pat >> >> >> ------------------------------------------------------------- >> 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/ >> >> > > > Larry Hewitt360.807.1100 OFFICE > HCO, LLC360.807.1103 FAX > 1133 Kresky NE #106360.508.6231 CELL > Centralia, WA 98531larryh@hewittco.com > www.hewittco.comwww.votewashington.org > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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/ Patrick McCormick

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:

Can I invoke an ssi plugin from within a webcat page (1997) WebCat2b12 CGI Mac - [shownext] problem (1997) WebCatalog can't find database (1997) no global [username] or [password] displayed ... (1997) Archives Suppor [was:Hyperlink in email] (2002) I give up!! (1997) Error:Too many nested [xxx] contexts (1997) Trouble with formula.db (1997) hyperlinking unique input strings on the fly when displaying in HTML (2000) Recalculating Shipping Costs (1997) POSTing to a secure server ... (2000) WebDNAReference (2000) [WebDNA] making all fields on a form mandatory (2013) Search in 2 or more catalogs (1997) Sensations (1997) Problems with ErrorLog on Linux (2000) Viewing old carts (was FEW QUESTIONS) (1997) Stumpted Again (1997) Netiquette: how to get the most out of this list (1999) Temporary Serial Numbers for the Beta (2000)