Re: export from NT to unix
Posted in 1999
Art S. Kagel — — source: Informix-list mailing list archive (1991-1998)
You can use tr to translate the Carriage Returns (they are the problem not the newlines). Thus: tr -d "\\r" "" <infile >outfile Art S. Kagel Scott Patterson wrote: > > I have successfully exported from unix and imported into nt many times. > Reformat the SQL file and all is well. Now I need to move back from NT to > unix (HPUX). The linefeeds are killing me. For the smaller files a sed > script to strip off trailing linefeeds works. But I have a table containing > a BLOB. sed can't handle that long of a record. > > Is there a good way to tranfer from NT to unix? > > Thanks, > > Scott