From owner-freebsd-ports Mon Oct 16 9:10: 5 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6656137B66F for ; Mon, 16 Oct 2000 09:10:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA22215; Mon, 16 Oct 2000 09:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 16 Oct 2000 09:10:02 -0700 (PDT) Message-Id: <200010161610.JAA22215@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: ports/22027: New port: ccdoc v0.7a Reply-To: Peter Pentchev Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/22027; it has been noted by GNATS. From: Peter Pentchev To: lonewolf@atlantis.fukt.hk-r.se Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/22027: New port: ccdoc v0.7a Date: Mon, 16 Oct 2000 19:02:00 +0300 On Mon, Oct 16, 2000 at 03:36:06PM -0000, lonewolf@atlantis.fukt.hk-r.se wrote: > > >Number: 22027 > >Category: ports > >Synopsis: New port: ccdoc v0.7a [snip] > > >Description: > This is a port submission for CcDoc 0.7a, a doc-comment tool like JavaDoc, but > for C++ instead. > > The reason I'm submitting it as a uuencoded file is that the Makefile contains > a raw ^M which I was afraid might get mangled somewhere along the way. Hope you > don't mind. (The distfile is originally intended for Windoze, so everything is > CRLF in there...) Just an idea - you may avoid inserting the ^M itself by not using sed, but tr - as in tr -d "\015" < infile > outfile. Or for in-place editing, there's always perl -pi -e 's/\r//g' filename. Well, come to think of it, Perl might be a bit of an overkill just for removing \r's in a single file; you can't beat it, though, for things like: find ${WRKSRC} -type f | xargs perl -pi -e 's/\r//g' (and usually you can even drop the /g, making processing about 0.05% faster ;) Just my two cents :) G'luck, Peter -- If I had finished this sentence, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message