From owner-freebsd-ports  Sun May  2 12:18:14 1999
Delivered-To: freebsd-ports@freebsd.org
Received: from ozz.etrust.ru (ozz.etrust.ru [195.2.84.116])
	by hub.freebsd.org (Postfix) with ESMTP id 61C7314C0A
	for <ports@FreeBSD.ORG>; Sun,  2 May 1999 12:17:59 -0700 (PDT)
	(envelope-from osa@etrust.ru)
Received: from localhost (unknown [127.0.0.1])
	by ozz.etrust.ru (Postfix) with ESMTP
	id DE4A31EC; Sun,  2 May 1999 19:17:52 +0000 (GMT)
Date: Sun, 2 May 1999 23:17:52 +0400 (MSD)
From: oZZ!!! <osa@etrust.ru>
To: Terry Warner <keerf@www.netlabs.net>
Cc: ports@FreeBSD.ORG
Subject: Re: dos2unix
In-Reply-To: <199905012136.RAA13575@www.netlabs.net>
Message-ID: <Pine.BSF.4.10.9905022316280.671-100000@ozz.etrust.ru>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-ports@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org



> 
> Can anyone tell me possiably where I can find
> a copy of dos2unix or dos2bsd for FreeBSd .. or is it in the ports dir
> already?
> 
> Terry Warner


#!/usr/bin/perl -pi
print STDERR "Converting \"$ARGV\" ...\n" if (eof || ($. == 0));
s/\015$//;               # strip ^M from end of line.
s/\032$//;               # strip ^Z if we see it (which'll be at EOF).
> 
> keerf@netlabs.net
> 
Rgdz,
Sergey A. Osokin,
osa@etrust.ru



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message