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

improve backward compatibility for non-gnu awk #2917

Merged
merged 1 commit into from
Oct 18, 2022
Merged

Conversation

ryenus
Copy link
Contributor

@ryenus ryenus commented Oct 18, 2022

Adding function alen(arr) since length(arr) is GNU extension, not available in mawk (v1.3.3) from Debian 10 though. Fixes #2916

Adding function alen(arr) since length(arr) is GNU extension.
Fixes nvm-sh#2916
@ryenus
Copy link
Contributor Author

ryenus commented Oct 18, 2022

@ljharb I'm not sure if the failed tests are relevant, possible to take a look?
Nevertheless the travis tests are good.

@ryenus
Copy link
Contributor Author

ryenus commented Oct 18, 2022

Also tested the patch with debian:10, working as expected:

image

nvm.sh Show resolved Hide resolved
@ryenus ryenus requested a review from ljharb October 18, 2022 04:04
@ljharb ljharb merged commit 89d6cdd into nvm-sh:master Oct 18, 2022
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.

Nvm ls-remote no longer works on Debian 10
2 participants