On Tue, 13 Feb 2001 07:48:10 Kiran Kumar M wrote:
>I have a file with characters might be carriage returns. The file looks
>like the following (I opened it in vi)
>
> ^M                                            ^Maaaa
> ^M                                            ^Mbbbb
> ^M                                            ^Mcccc
>
>I want to convert to 
>
>aaaa
>bbbb
>cccc
>
>I want to omit the extra characters..

So open the file in vi/vim and use the "x" key to delete the unwanted characters, then 
"ZZ" to save and quit.

-- 
Anthony E. Greene <[EMAIL PROTECTED]> <http://www.pobox.com/~agreene/>
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
Chat:  AOL/Yahoo: TonyG05    ICQ: 91183266
Linux. The choice of a GNU Generation. <http://www.linux.org/>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to