Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 May 2006 00:34:59 -0300
From:      Duane Whitty <duane@greenmeadow.ca>
To:        FreeBSD Daemon <free.bsd@gmx.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: "^M"
Message-ID:  <445824E3.7080800@greenmeadow.ca>
In-Reply-To: <000001c66e5f$33c784e0$0201a8c0@kojo>
References:  <000001c66e5f$33c784e0$0201a8c0@kojo>

next in thread | previous in thread | raw e-mail | index | archive | help
FreeBSD Daemon wrote:
> Dear list,
>
> How can I non-manually remove the "^M" line breaks from my text files
>
> TIA
>
> zheyu
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>
>
>   
 From within vi you could do
:g/^V^M/s/^V^M//g

Best Regards,


Duane Whitty
-- 
duane@greenmeadow.ca



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?445824E3.7080800>