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

shuf is not POSIX-compliant #44

Closed
ghost opened this issue Nov 29, 2020 · 3 comments
Closed

shuf is not POSIX-compliant #44

ghost opened this issue Nov 29, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Nov 29, 2020

You are using shuf which is not POSIX-compliant.

I found an answer/solution on stackoverflow.

It seems that the proposed solution is not the most performant, but because you are shuffling only 5 values, that shouldn't be a problem.

@sdushantha
Copy link
Owner

You are using shuf which is not POSIX-compliant.

That's new to me, thank you for letting me know! I'll look into it when I get some time :)

@ghost
Copy link
Author

ghost commented Nov 29, 2020

I didn't knew it either. But I ran your script on OpenBSD and it doesn't have shuf. Thanks, take your time.

@sdushantha
Copy link
Owner

@ndalliard This has been fixed in #45 :)

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

No branches or pull requests

1 participant