vi editor related question

Geert Hendrickx geert.hendrickx at
Sat Aug 28 01:00:25 PDT 2004

On Sat, Aug 28, 2004 at 09:20:54AM +0530, Subhro wrote:
> I have come across a script (Perl) called dos2unix. You can check that
> out too. Google for the link.
> Regards
> S.

It's in the Ports tree: textproc/unix2dos.  

Simply do: "dos2unix <filename>" if you want to edit the file under
FreeBSD (UNIX), and "unix2dos <filename>" if you want to edit it under
Windows (DOS).  


More information about the freebsd-questions mailing list