Path: utzoo!attcan!uunet!mcvax!ukc!axion!galadriel!pcf
From: pcf@galadriel.bt.co.uk (Pete French)
Newsgroups: comp.os.minix
Subject: Re: uudecode problems
Message-ID: <316@galadriel.bt.co.uk>
Date: 10 Aug 89 12:53:53 GMT
References: <21287@louie.udel.EDU>
Organization: RT6115, BTRL, Martlesham Heath, England
Lines: 19

From article <21287@louie.udel.EDU>, by HIGGS_M%P1.LANCSP.AC.UK@cunyvm.cuny.edu (Mike Higgs):
> at the files with mined, at the end of each line, there is a reverse video
> upper case M. I deleted this from around the 'end' of the file and it decoded
> OK. ( it seemed ). The file length was OK but the sum was different than it

I get this problem on uuencoded files a lot - especially when moving from
DOS to UNIX via Ethernet or something. It occurs because of one machine
wanting CR-LF as an end-of-line and the other wanting just CR or LF.


There is no way I have found of putting the ^M character into a serch sequence.
However ... all lines end with it so you can simply delete the last character
of each line using :

s/.$//

Hope this helps.

-Pete French.