Will --

...and then Will Yardley said...
% Jerome De Greef wrote:
% 
% > Did you try removing the trailing ^M (dos CR). In vim you can use
% > :%s/$\r//g to remove them but I think it only work with vim 6.x
% 
% this is ONE thing that i use pico for - opening a file in pico and

Bah.


% saving it will remove the CRs (make sure to use '-w' so lines don't
% wrap).  i would assume that nano would also do this for those of you
% consumed by your hate of UW.

No comment :-)

In vim:

  vim filename
  :set fileformat=unix
  :wq

Ta-daa!  Even easier than the :%s magic available in any vi or clone.


% 
% w
% 
% -- 
% GPG Public Key:
% http://infinitejazz.net/will/pgp/


:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

PGP signature

Reply via email to