Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] nvm debug: awk: not an option: --version #2922

Merged
merged 1 commit into from
Oct 21, 2022
Merged

Conversation

ryenus
Copy link
Contributor

@ryenus ryenus commented Oct 21, 2022

On Debian, the default awk/mawk doesn't support the --version option, instead there's mawk specific -W version. See https://linux.die.net/man/1/mawk

On Debian, the default awk/mawk doesn't support the '--version' option;
instead there's mawk-specific '-W version'.
@ljharb
Copy link
Member

ljharb commented Oct 21, 2022

Does that mean Debian isn’t posix-compliant, or that the --version command isn’t part of posix?

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out posix doesn't have a version command, so this is good as-is. Thanks!

@ljharb ljharb merged commit 095a4ca into nvm-sh:master Oct 21, 2022
ljharb added a commit that referenced this pull request Oct 24, 2022
@Wallyworldg02
Copy link

Like

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants