replace carriage returns - the final solution
Jay R. Ashworth
jra at baylink.com
Wed Jul 7 09:43:16 PDT 2004
On Wed, Jul 07, 2004 at 11:14:16AM -0500, Richard D. Williams wrote:
> I actual changed the sed line to: sed 's/~@//g' < $1.ul > $1.sed
> Each line ends with ~@~crnl (carriage-return line-feed), so when I remove the ~
> @ it leaves the ~.
> I use it as my end-of-record marker and use an import of: import ascii merge =
> (filename) r=~ f=|
>
> This works fine.
Well, it does, certainly, but as I noted, you might be better served to
leave the newline instead, so you can manually mung the file with vi
easily, should you ever need to do so.
Cheers,
-- jra
--
Jay R. Ashworth jra at baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274
"You know: I'm a fan of photosynthesis as much as the next guy,
but if God merely wanted us to smell the flowers, he wouldn't
have invented a 3GHz microprocessor and a 3D graphics board."
-- Luke Girardi
More information about the Filepro-list
mailing list