[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BSD or OSX user ? Can you test this?
- Subject: Re: BSD or OSX user ? Can you test this?
- From: Chris Bennett <..hidden..>
- Date: Thu, 29 Nov 2012 09:08:19 -0600
On Thu, Nov 29, 2012 at 12:07:04PM +0100, H?vard S?rli wrote:
>
> Chris made a nice perl version of prepare-company-database.sh
>
> Just to cler off the getop case in the prepare-company-database.sh I
> made a version with a test and info text if you do not run the GNU
> getopt version.
>
>
> # Test getopt version. This script use the GNU 'getopt' version.
> getopt -T > /dev/null
> if [ $? -eq 0 ]; then
> # Original getopt is available
> echo "This script need the GNU enhanced getopt to work"
> echo "Use prepare-company-database.pl on your platform"
> exit 0
> fi
>
>
> Can someone test that this fix works on BSD / OSX ?
>
> version with the test:
> http://www.anix.no/tmp/prepare-company-database.sh
OpenBSD:
freedom$ /bin/sh prepare-company-database.sh
This script need the GNU enhanced getopt to work
Use prepare-company-database.pl on your platform
Chris Bennett