From: Vincent Cunniffe (vcunniff at domain dogma.slashnull.org)
Date: Thu 04 May 2000 - 09:42:48 IST
Michael Turley wrote:
>
> Does anyone know of a quick way to get rid of ^M from
> multiple files of the same format? Today I ambitiously
> tryied to use perl -p -e 's/<ctrl-v><return>//' *.c
> (I've managed to use the <ctrl-v><return> in vi when
> writing little perl filters before but I'd like a
> better less ad-hoc method if anyone knows). Cheers!
'dos2unix' is a commandline utility that'll do it for an entire file.
Vin
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:00 GMT