pure-sh-bible
run
Our great sponsors
pure-sh-bible | run | |
---|---|---|
29 | 17 | |
6,275 | 474 | |
- | - | |
0.0 | 3.5 | |
4 months ago | 7 months ago | |
Shell | Go | |
MIT License | MIT License |
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.
pure-sh-bible
-
Kiss Package Manager
The guy who wrote it, also wrote a POSIX Shell bible: https://github.com/dylanaraps/pure-sh-bible
-
Pure Bash Bible
Do you have any specific examples to cite? The snippets are meant to be run in POSIX-compliant shells like dash/yash/ash/etc, not just Bash in compatibility mode.
In fact, there used to be a section which listed workarounds[1] for bugs in dash, but they have since been fixed[2]. If you are still using an old version of dash, you may need to use them.
[1] https://github.com/dylanaraps/pure-sh-bible/commit/70f410ebb...
[2] https://github.com/dylanaraps/pure-sh-bible/issues/13
- Pure Sh Bible
-
"Immortal" Bash scripts, using inline Nix and a special header block
Personally, I would steer clear of a script that installs dependencies on it's own. Us sysadmins prefer to manage our own dependencies, generally speaking. Instead consider a README that outlines how to meet/install dependencies for the script, or try to find ways to write your script in pure Shell or Bash without using tools like awk, jq, etc. Consider having a look at the Pure Sh Bible for examples of how to do many useful things in pure Sh.
- r/posixshell Lounge
-
Shell in a nutshell
POSIX Shell Tutorial POSIX shell cheat sheet GitHub - dylanaraps/pure-sh-bible: π A collection of pure POSIX sh alternatives to externalβ¦ Shell Scripting Tutorial
-
Just: A Command Runner
There is the "pure bash bible" but it seems less than maintained these days: https://github.com/dylanaraps/pure-sh-bible
Otherwise you're stuck reading the POSIX standard: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...
- Unix shell script tactics - a style guide
-
Posix shell compliant
Look at this: https://github.com/dylanaraps/pure-sh-bible
run
-
Fig Has Joined AWS
I've been using Run [0] for this purposes.
[0]: https://github.com/TekWizely/run
-
Show HN: Xc β A Markdown Defined Task Runner
To the extent that posts like these evolve into discussing the merits of Make as a task runner, I would like to offer my tool for review:
* https://github.com/TekWizely/run
I built it to feel like make, but be better at managing tasks and wrappers.
If you are evaluating task runners and appreciate the simplicity of Make's syntax, I hope you'll give Run a try.
-
Just: A Command Runner
I invite you take a look at Run, a similar tool that I maintain:
* https://github.com/TekWizely/run
Support for including other Runfiles was recently introduced, with support for globbing and the ability to indicate if an error should be generated if no files are found.
- Automatic Makefile help generation
-
DevOps Is Bullshit
Unrelated to this topic, I invite you take a look at my project which a tool purpose-built to be a better version of what your makefile became:
Run: Task runner that helps you easily manage and invoke small scripts and wrappers
https://github.com/TekWizely/run
Defining commands feels like make, but comes with a bunch of extras targeted at the needs of a task-runner.
I hope you'll check it out!
-
sd β a cozy nest for your scripts
This looks like an interesting way to manage scripts globally. I could even see it able to manage n-sub-commands deep (vs usual "command sub-command" - maybe it already does?) by just trying to resolve each argument as a dir until you find a script to execute.
If you're interested in ways to better-manage small scripts and wrappers more locally, please take a look at my project, Run:
https://github.com/TekWizely/run
- Run v0.9.0 - Easily manage and invoke small scripts and wrappers - Now with support for Includes!
-
run VS makesure - a user suggested alternative
2 projects | 13 Aug 2022
-
The Unreasonable Effectiveness of Makefiles
For those looking for a powerful task runners that feel like a makefile, please take a look at Run:
https://github.com/TekWizely/run
It's better a managing and invoking tasks and generates help text from comments.
What are some alternatives?
pure-bash-bible - π A collection of pure bash alternatives to external processes.
bashly - Bash command line framework and CLI generator
awesome-bash-commands - A curated list of awesome Bash useful commands. Inspired by awesome-shell and bash-handbook.
earthly - Super simple build framework with fast, repeatable builds and an instantly familiar syntax β like Dockerfile and Makefile had a baby.
bfetch - π Dynamic fetch displayer that SuperB
doit - task management & automation tool
scripts-to-rule-them-all - Set of boilerplate scripts describing the normalized script pattern that GitHub uses in its projects.
shtlang - A toy scripting dynamic imperative programming language.
snake-bash - Command Line Snake Game written in BASH
Cake - :cake: Cake (C# Make) is a cross platform build automation system.
clh-bash - Arcade game to show your Command Line Hero skills! The game challenges you to enter as many valid commands as you can in 60 seconds!
makesure - Simple task/command runner with declarative goals and dependencies