3 ms·
A few things I commonly do in bash that it isn't clear (or wasn't immediately clear from the documentation that you can do in Hush): Pass environment variables
by TheCycoONE 4y ago
A few things I commonly do in bash that it isn't clear (or wasn't immediately clear from the documentation that you can do in Hush):
Pass environment variables into a single command ala `NO_COLOR=1 ./foo` in standard sh. The only workaround I see is std.export to set it, and then std.export again to unset it.
The section on expansion doesn't mention std.glob - since there are times when you want to handle globs in variables it might be worth mentioning it there.
Some equivalent to getopt for argument parsing