Stripping Carriage Return / Line Feed from text file

Jay R. Ashworth jra at baylink.com
Wed Jul 30 10:33:04 PDT 2008


On Wed, Jul 30, 2008 at 10:30:22AM -0500, Mike Schwartz wrote:
> Quoting Scott Walker (Tue, 29 Jul 2008 17:27:13 -0400):
> > I want to use a text file as an alien file.
> >
> > It's fixed length fields but has a carriage return/line feed between each
> record.
> >
> > Can someone remind me of the easiest way to strip the 0d0a from these
> records?
> 
>     Rather than bothering to strip the CR/LF off, why don't you just overlay
> a "non-filePro file" map over the file?

He *did* say "alien file", Mike.  :-)

Cheers,
-- jra
-- 
Jay R. Ashworth                   Baylink                      jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com                     '87 e24
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274

	     Those who cast the vote decide nothing.
	     Those who count the vote decide everything.
	       -- (Josef Stalin)


More information about the Filepro-list mailing list