[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: perl script



On Thu, Jul 17, 1997 at 10:40:45PM -0700, Mike Schmitz wrote:
> I don't have pico, and usually use only vim. Vim showed no ^M's so I was 
> fairly satisfied that they did not exist. I started looking at the file
> in other editors on my system, ae & xedit, ae showed none, but xedit saw
> them big as life. Is vim now trying to be compatible with M$?!! I may
> have to find a new editor.

Vim will ignore them, but leave them in when it saves.
Vi will show them. Can be removed with

tr -d '\015' < file > file2







Hamish
-- 
Hamish Moffatt, StudIEAust                    moffatt@yallara.cs.rmit.edu.au
Student, computer science & computer systems engineering.    3rd year, RMIT.
http://hamish.home.ml.org/ (PGP key here)             CPOM: [*****     ] 50%
The opposite of a profound truth may well be another profound truth.  --Bohr


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: