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

Clean up bash script to be more idiomatic #8

Open
furnivall opened this issue Oct 24, 2022 · 0 comments
Open

Clean up bash script to be more idiomatic #8

furnivall opened this issue Oct 24, 2022 · 0 comments

Comments

@furnivall
Copy link
Contributor

What would you like to change?

I think the script should probably change to iteration over parameters with shift statements

How do you think that would improve the project?

It's a bit more idiomatic and extensible with further development.

Something along the lines of a while loop conditioned on $# having a value with a case statement and a shift statement at the bottom.

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

No branches or pull requests

1 participant