[pass] [patch] use getopt to regularize options
Stephen Paul Weber
singpolyma at singpolyma.net
Wed Sep 12 16:06:31 CEST 2012
Somebody claiming to be Simon Zimmermann wrote:
>On Wed, Sep 12, 2012 at 7:21 AM, Brian Mattern <rephorm at rephorm.com> wrote:
>> I *think* this is portable, but don't have access to any
>> systems other than linux to test on.
>
>Linux uses GNU C getopt library, while Mac OS X the BSD C
>implementation of it.
The `getopts` command is a little different from the getopt() library call.
It would not suprise me if the GNU version of the command supports some
extensions (like longopts), but for portability the spec is here:
<http://pubs.opengroup.org/onlinepubs/009695399/utilities/getopts.html>
--
Stephen Paul Weber, @singpolyma
See <http://singpolyma.net> for how I prefer to be contacted
edition right joseph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20120912/9b858205/attachment.asc>
More information about the Password-Store
mailing list