Shell Dep Standards Online
No host dependencies except docker itself.
curl -sSf https://example.com/install.sh | sh shell dep standards
Shell DEP standards are designed to close those gaps. They are prescriptive, meaning they dictate exactly how something should be done, often imposing requirements that are stricter than the base international standard. No host dependencies except docker itself
These are failures. Without clear standards for declaring, validating, and isolating shell dependencies, even the simplest scripts become fragile time bombs. These are failures
| Utility | Safe version syntax | Dangerous pattern | |---------|---------------------|-------------------| | grep | >=2.5 (avoid -P ) | grep -P (GNU-only) | | sed | sed -E (both GNU and BSD) vs sed -r (GNU) | sed -i '' (BSD) vs sed -i'' (GNU) | | awk | awk 'print $1' (POSIX) | gawk extensions ( gensub , asort ) | | find | find . -name "*.sh" -exec ... + | find . -printf (GNU) |
Run: nix-shell – all dependencies are fetched, version-locked, and isolated.
Consider this: a script runs perfectly on your macOS workstation but fails in an Alpine Linux container. A developer adds #!/bin/bash – but the production environment only has dash . A well-intentioned use of grep -P (Perl-compatible regex) breaks on a minimal Debian system.