Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 2004 09:59:45 +0200
From:      Geert Hendrickx <geert.hendrickx@ua.ac.be>
To:        Subhro <subhro.kar@gmail.com>
Cc:        FreeBSD-questions <freebsd-questions@freebsd.org>
Subject:   Re: vi editor related question
Message-ID:  <20040828075945.GA8062@lori.mine.nu>
In-Reply-To: <b2807d0404082720504747dde3@mail.gmail.com>
References:  <34b425c50408271652314776b1@mail.gmail.com> <1093661524.743.111.camel@chaucer> <20040828034604.GA492@werd> <b2807d0404082720504747dde3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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).  

GH



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