Article View: comp.os.msdos.programmer
Article #3491Re: Editor to find and replace hidden chars, strip controls?
From: George Jetson
Date: Mon, 05 Oct 1992 14:00
Date: Mon, 05 Oct 1992 14:00
26 lines
1747 bytes
1747 bytes
In article <1992Oct5.015911.3335@netcom.com> whedon@netcom.com (Bill Whedon) writes:
>In article <92278.184011RVK@psuvm.psu.edu> <RVK@psuvm.psu.edu> writes:
>>Where can I find an editor that can find and replace hidden characters,
>>strip control characters and linefeeds? Essentially, I need to strip a
>>large number of linefeeds from a data acquisition file. Thanks in advance.
>Why bother with an editor? Here's source for a simple filter which will take
>out all CR and LF characters (0x0D and 0x0A) for you:
(fine .c program deleted)
Or, how about:
awk "BEGIN {ORS=foo} {print}" oldfile > newfile
You do have AWK on your DOS machine, don't you?
************************************************************************
A note to new readers: the weasely :-) symbol is frowned upon in this
group. Any questions, see Phil Gustafson who will gladly rearrange your
diodes for you.
- From the AFU FAQ -
- pynq@quads.uchicago.edu, who is still costing the net
hundreds, if not thousands, of dollars, every time he posts -
************************************************************************
Technical Details
Message-ID:
<1992Oct5.140043.13325@midway.uchicago.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!olivea!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!uchinews!quads!pynqReferences:
<92278.184011RVK@psuvm.psu.edu> <1992Oct5.015911.3335@netcom.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!olivea!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!uchinews!quads!pynq From: pynq@quads.uchicago.edu (George Jetson) Newsgroups: comp.os.msdos.programmer,comp.os.ms-windows.programmer.misc Subject: Re: Editor to find and replace hidden chars, strip controls? Message-ID: <1992Oct5.140043.13325@midway.uchicago.edu> Date: 5 Oct 92 14:00:43 GMT References: <92278.184011RVK@psuvm.psu.edu> <1992Oct5.015911.3335@netcom.com> Sender: news@uchinews.uchicago.edu (News System) Reply-To: pynq@midway.uchicago.edu Organization: D. J. Dougherty & Associates Lines: 26