11c31e1860 | ||
---|---|---|
primitives | ||
.gitignore | ||
Makefile | ||
README.md | ||
install | ||
testenv | ||
uninstall |
README.md
Commands For Dergs
These POSIX shell scripts are meant to be UNIXy - they do one thing each and do it well, so you can sling them together and perform complex tasks.
Need to check if something is a number? isnum.
Need to take the last argument and pipe it, executing the rest as a command? lastpipedo.
Need the former, but for the first argument? firstpipedo.
How about the first n arguments? firstnthpipedo.
You get the idea!
What do I need?
There will be descriptions of these functions embedded on their head, including a requirements list for the applications they call.
Later, I'll make a script that can tell if one of these is missing and let you know. I'd also like to do a --reqs argument that will print these along with an indicator of installation status and a return code.
Why POSIX?
My other project isn't ready yet, and it's good to make POSIX environments friendlier. These would only fail when an external program is not there. Maybe I could even make it graceful