Hi Joel,

Try using the col(1) command
   $ col -bx < dos.file > unix.file

HTH


> 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
>
>
> --
> 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
>


-- 
Jimmy Lim
IT Operation & Support Team Leader
Tricom
--
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