[ale] Files uploaded in binary mode.

Bradley Leonard bradley at stygianresearch.com
Tue Oct 31 16:17:30 EST 2000



In vi, ":1,$s/control-vcontrol-m//g" should work.

After typing control-vcontrol-m it should look like "^M".


BL

> Hi, 
> 
>  I am trying to fix a file that was uploaded in binary mode with sed. I
> can't seem to get rid of that stupid ^M after every line. Anyone know
> how to do this? I figured it out in PERL once but I don't have perl on
> this machine.
>  I tried sed s/^M// <file1 >file2 but that doesn't work I think that they
> are some strange character or somehting...Any suggestions?ym
> 
> 
> 
> Thanks
> Ken
> 
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message 
body.
> 


-- 
Bradley Leonard     (bradley at stygianresearch.com)
Stygian Research    (http://stygianresearch.com)

Life is simple.  We make it complicated.


--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list