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 [email protected]: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 <[email protected]>
Copyright 2013-2020. Ingy döt Net.
The MIT License (MIT).