[pass] [patch] use getopt to regularize options

Dmitry Medvinsky dmedvinsky at gmail.com
Wed Sep 12 12:27:40 CEST 2012


It appears to me it doesn't symlink the binary anywhere at all:

dmedvinsky at mc-air in /u/local (master $)
><((±> find . -name '*getopt*'
./Cellar/gnu-getopt
./Cellar/gnu-getopt/1.1.4/bin/getopt
./Cellar/gnu-getopt/1.1.4/share/man/man1/getopt.1
./Cellar/jasper/1.900.1/include/jasper/jas_getopt.h
./Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/getoptlong.rb
./Cellar/ruby/1.9.3-p194/share/ri/1.9.1/system/OptionParser/Arguable/getopts-i.ri
./Cellar/ruby/1.9.3-p194/share/ri/1.9.1/system/OptionParser/getopts-c.ri
./Cellar/ruby/1.9.3-p194/share/ri/1.9.1/system/OptionParser/getopts-i.ri
./Library/Formula/gengetopt.rb
./Library/Formula/gnu-getopt.rb
./opt/gnu-getopt

./opt/gnu-getopt is a symbolic link to ../Cellar/gnu-getopt/1.1.4

On Wed, Sep 12, 2012 at 2:18 PM, Jason A. Donenfeld <Jason at zx2c4.com> wrote:
> It looks like Homebrew has:
>
>     https://github.com/mxcl/homebrew/blob/master/Library/Formula/gnu-getopt.rb
>
> Would someone investigate this, and tell me how it works? Does it
> install it into /usr/local/bin, and is /usr/local/bin, by default
> higher  in PATH than /usr/bin? Or does it install it as gnu_getopt,
> and so I need to change the names of functions? Or what? What's its
> invocation?
>
> Running out the door now, but I'll look into it later.
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> http://lists.zx2c4.com/listinfo.cgi/password-store-zx2c4.com



More information about the Password-Store mailing list