Robin <pop@roo.cs.umass.edu> writes:
> Date: 9 Mar 2000 13:31:56 GMT
> ...
>
> ...
> I usually write a little POP-11 program to hoover up the excess characters
> if somebody sends me a Windows file.
In Ved you can do the following to get rid of carriage
return (ascii 13) characters:
ENTER sgs/\r//
(SGS = Silent Global Substitute. Using ENTER gs instead gives a
running count of the number of substitutions done.)
If the file is copied from a floppy using mtools I believe there's
a flag you can give mcopy. From the "man mcopy" page:
t Text file transfer. Mcopy translates incoming carriage
return/line feeds to line feeds.
I think the unix "col" command also does something relevant.
Aaron
==
--
Aaron Sloman, ( http://www.cs.bham.ac.uk/~axs/ )
School of Computer Science, The University of Birmingham, B15 2TT, UK
EMAIL A.Sloman AT cs.bham.ac.uk (NB: Anti Spam address)
TOOLS: http://www.cs.bham.ac.uk/research/poplog/freepoplog.html
|