Date: Mon, 16 Oct 2000 09:10:02 -0700 (PDT) From: Peter Pentchev <roam@orbitel.bg> To: freebsd-ports@FreeBSD.org Subject: Re: ports/22027: New port: ccdoc v0.7a Message-ID: <200010161610.JAA22215@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/22027; it has been noted by GNATS. From: Peter Pentchev <roam@orbitel.bg> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010161610.JAA22215>