Skip to content

Support alternate GNU getopt binary on OpenBSD#104

Open
0xkag wants to merge 1 commit into
mfaerevaag:masterfrom
0xkag:openbsd-getopt
Open

Support alternate GNU getopt binary on OpenBSD#104
0xkag wants to merge 1 commit into
mfaerevaag:masterfrom
0xkag:openbsd-getopt

Conversation

@0xkag

@0xkag 0xkag commented Feb 21, 2021

Copy link
Copy Markdown

OpenBSD getopt does not support -l. There's a gnugetopt port/package that is the GNU implementation (the one on Linux) that supports -l. So if gnugetopt is present in the PATH use that, otherwise use getopt.

This is coming from ohmyzsh/ohmyzsh#9677.

OpenBSD getopt does not support `-l`.  There's a gnugetopt port/package
that is the GNU implementation (the one on Linux) that supports `-l`.
So if gnugetopt is present in the PATH use that, otherwise `getopt`.
@alpha-tango-kilo

Copy link
Copy Markdown
Collaborator

Hey Kyle, thanks for the PR! Is this the only instance in the program that has a GNU-specific implementation do you know, or are there others we need to be careful of?

@p1r473

p1r473 commented Jun 12, 2024

Copy link
Copy Markdown
Contributor

Bump @0xkag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants