Stripping Carriage Return / Line Feed from text file

Bill Campbell bill at celestial.com
Tue Jul 29 15:47:09 PDT 2008


On Tue, Jul 29, 2008, Kenneth Brody 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.
>
>Why not just add a (2,*) field at the end of your map, and just ignore
>that field?

I like the SCO program to do this, dtox -- aptly named to detox
things from Microsoft (yeah this was originally a CP/M thing :-).

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186

The best we can hope for concerning the people at large is that they be
properly armed.  -- Alexander Hamilton, The Federalist Papers at 184-188


More information about the Filepro-list mailing list