Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
databasher
on March 20, 2023
|
parent
|
context
|
favorite
| on:
Argbash – Bash Argument Parsing Code Generator
If you refer to my example above, you'll find that Bash's native "getopts" handles long options just fine. It accepts short option `-`, with an argument. This handles --long-options and --long-options=with-arguments.
Feel free to use your own formatting preferences.
sacnoradhq
on March 20, 2023
[–]
https://google.github.io/styleguide/shellguide.html
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Feel free to use your own formatting preferences.