petopts
Portable and simple option parsing, powered by getopts(1p). (by aaronNGi)
unix-shell-script-tactics
Unix shell script tactics - best practices style guide (by SixArm)
petopts | unix-shell-script-tactics | |
---|---|---|
4 | 5 | |
8 | 299 | |
- | 1.0% | |
0.0 | 6.4 | |
over 2 years ago | 3 months ago | |
Shell | Shell | |
The Unlicense | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
petopts
Posts with mentions or reviews of petopts.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-18.
-
Bash newbie here, wanted to know your opinion
Here's an example of how I would do option parsing.
-
Unix shell script tactics - a style guide
Here's what's I'm using.
- petopts: Portable and simple option parsing, powered by getopts(1p)
- petopts: Portable and simple option parsing, powered by getopts(1p).
unix-shell-script-tactics
Posts with mentions or reviews of unix-shell-script-tactics.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-05.
-
What is that Linux server doing?
The new standard is /etc/os-release, which contains data structured in environment-variable format. Shell scripts can read in that file with . /etc/os-release, then all the information is available as standard environment variables.
- Unix shell script tactics - a style guide
- Show HN: Unix shell script tactics – a style guide
What are some alternatives?
When comparing petopts and unix-shell-script-tactics you can also consider the following projects:
dotfiles - Portable configuration files and utility scripts for Linux and OpenBSD
pure-bash-bible - 📖 A collection of pure bash alternatives to external processes.
pure-sh-bible - 📖 A collection of pure POSIX sh alternatives to external processes.
bats-core - Bash Automated Testing System