Bash+(1) - Modern Bash Programming
source bash+ :std :array
use Foo::Bar this that
Array.new args "$@"
if args.empty?; then
die "I need args!"
fi
Foo::Bar.new foo args
this is awesome # <= this is a real command! (You just imported it)
Bash+ is just Bash... plus some libraries that can make Bash programming a lot nicer.
Get the source code from GitHub:
git clone git@github.com:ingydotnet/bashplus
Then run:
make test
make install # Possibly with 'sudo'
For now look at some libraries the use Bash+:
If you are interested in chatting about this, /join #bpan
on irc.freenode.net.
Written by Ingy döt Net <ingy@ingy.net>
Copyright 2013-2020. Ingy döt Net.
The MIT License (MIT).