Hello
when given more then one arguments to check4progs()
it will echo only the last missing program instead of all. example follows:
$ . ~/temp/check4progs.orig
$ check4progs foo cp ln mv bar wc tr tee
bar not installed
patched version:
$ . ~/temp/check4progs.mod
$ check4progs foo cp ln mv bar wc tr tee
foo not installed
bar not installed
Extra points: Exitstatus is the sum of all missing programs from argument list.
Please note this patch has been tested with bash!
I *think* it should work without modification in zsh, too.
Regards,
Thilo |