3 ms·
No, you can bundle functions like foreach, map, reduce and similar in your own `functional-bash.sh`, exporting them with `export -f`; so, if you include somethi
by amicofragile 6y ago
No, you can bundle functions like foreach, map, reduce and similar in your own `functional-bash.sh`, exporting them with `export -f`; so, if you include something like `. ~/bin/functional-bash.sh` in your `.bashrc` (or similar) file, these basic functions are available in all your scripts!
I plan to write a blog post about this topic within a few days ;-)