Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id B1C04B5DBD6 for ; Wed, 3 Aug 2011 13:24:48 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 39039-05 for ; Wed, 3 Aug 2011 16:24:42 +0000 (UTC) X-Greylist: delayed 00:32:02.984068 by SQLgrey-1.7.6 Received: from claranet-outbound-smtp00.uk.clara.net (claranet-outbound-smtp00.uk.clara.net [195.8.89.33]) by mail.postgresql.org (Postfix) with ESMTP id B1939B5DBD9 for ; Wed, 3 Aug 2011 13:24:42 -0300 (ADT) Received: from [217.158.205.40] (port=57150 helo=BSP1.visitlondon.com) by relay00.mail.eu.clara.net (relay.clara.net [213.253.3.40]:1025) with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) id 1QodkK-0004BS-2m (return-path ); Wed, 03 Aug 2011 15:52:36 +0000 Message-ID: <4E396EC4.5020508@londonandpartners.com> Date: Wed, 3 Aug 2011 16:52:36 +0100 From: Chris Wareham User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: David Fetter CC: PostgreSQL JDBC List Subject: Re: Copyright notices References: <20110802010259.GB8491@fetter.org> <20110803150419.GA19780@fetter.org> <20110803153249.GB19780@fetter.org> In-Reply-To: <20110803153249.GB19780@fetter.org> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: none X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201108/17 X-Sequence-Number: 22049 On 08/03/2011 04:32 PM, David Fetter wrote: > On Wed, Aug 03, 2011 at 11:06:32AM -0400, Dave Cramer wrote: >> David, >> >> If you look at the copyright utility in the postgresql tools >> directory you will see that it uses two commands that do not exist >> on a Mac, one is rgrep, this is fixable using grep -r. The second is >> "pipe" for which I could not find a work around > > I'm redoing the program in Perl because Perl's everywhere, and it > doesn't depend on silliness like this. Will send the patch to > -hackers soon, and cc you :) > > Cheers, > David. Perl isn't everywhere - it's not installed by default on NetBSD or FreeBSD for example. The best approach is to assume the command line tools and their features specified by the POSIX standards, which should work on all modern Unix-ish operating systems. I've not been following this thread too closely, but if you let me know what you're trying to accomplish then I should be able to come up with something that will work across Linux, NetBSD and Mac OS X (the systems I can test with here). Regards, Chris