Stripping Carriage Return / Line Feed from text file
Scott Walker
ScottWalker at RAMSystemsCorp.com
Wed Jul 30 13:15:49 PDT 2008
-----Original Message-----
From:
filepro-list-bounces+scottwalker=ramsystemscorp.com at lists.celestial.com
[mailto:filepro-list-bounces+scottwalker=ramsystemscorp.com at lists.celest
ial.com] On Behalf Of Jay R. Ashworth
Sent: Wednesday, July 30, 2008 1:33 PM
To: filepro-list at lists.celestial.com
Subject: Re: Stripping Carriage Return / Line Feed from text file
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
--
What's the correct terminology for it "alien file" or "non-filePro
file"?
I know ddefine says "Non-filePro" file but I could have sworn I've heard
it referred to as an "alien file".
Actually I vote for "external data file".
Regards,
Scott
More information about the Filepro-list
mailing list