On Wed, 2003-07-30 at 18:16, Joel Realubit wrote:
> hi everyone:
> 
> is there a command-line utility that can get rid of ^M characters from 
> text files written under Windows/DOS? i'm editing code in vi and those 
> ^M's are a bit annoying. i found linefeed on freshmeat but its a gui 
> that only converts one file at a time. i'm looking for a commandline 
> utility that can take wildcards so i can convert a whole bunch of files 
> (*.cxx and *.hxx files) with one command.
> 
> thanks in advance!
> 
> Joel Realubit


the utility is dos2unix and it comes with most linux distros.
(btw, yung can easily remove those ^Ms in vi)

ramil


--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to