[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Control char stripper



Myles Fudge (crownmi@zap.io.org) wrote:
: Which files are available that will allow me to replace the control 
: characters in a 300k file.  All I want to do is replace control-j with 
: control-m.  However, if there is a program that will allow you to 
: replace any one character (or more) with any other character (or more), 
: that would be ideal.  Thanks.
: -- 
: Myles
: crownmi@io.org

If you have a IIgs with enough memory to load the file into RAM, see if
you can find a copy of Dick Napoli's "NetEdit".  It's essentially just a
big GS/OS TextEdit window that can handle big files, and has a feature to
strip out LF's.

Barring that, if you need to do it all on disk, you could write a short
BASIC routine to do it in ProDOS...gimme a couple of hours and I'll post
the code here.

--Dave Althoff, Jr.
-- 
    /-\        _       _               __*** Closed for the season ***
   /XXX\      /X\     /X\_      _     /XX\_      _     _        _____  
  /XXXXX\    /XXX\  _/XXXX\_   /X\   /XXXXX\    /X\   /X\      /XXXXX
_/XXXXXXX\__/XXXXX\/XXXXXXXX\_/XXX\_/XXXXXXX\__/XXX\_/XXX\_/\_/XXXXXX