Skip to content

andreineculau/sane.bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sane.bash

For the future you to keep on enjoying GNU Bash.

For many decades now, we've had an unofficial Bash strict mode (Reddit), essentially set -euo pipefail.

Except GNU Bash evolved - errtrace functrace inherit_errexit and then there's one last thing (tm): stack trace on failure.

sane.bash wraps all that up in a script to import (source) or a snippet to copy-paste.

Usage

Have a look at the ./example for usage and docs.

There's also ./example-inline for those times when a little copying is better than a little dependency.

License

Unlicense

About

For the future you to keep on enjoying GNU Bash.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors