BTS

Message4683

Author Xk2c
Recipients ft
Date 2013-11-17.13:33:23
Content
Hello Frank,

That is nice! I added back the logic to suppress output at user will.

BUT the funny thing with this is it does work in bash but not in zsh. :/

e.g.:
~ % which cp
/bin/cp
~ % check4progs foo cp
foo: binary not found
cp: binary not found

This is with unmodfied debian zsh. I guess some "setopt" is missing here?

I attach the tested "check4progs.PATHloop" for ease of further testing.
Files
File name Uploaded
check4progs.PATHloop Xk2c, 2013-11-17.13:33:23
History
Date User Action Args
2013-11-17 13:33:24Xk2csetrecipients: + ft
2013-11-17 13:33:23Xk2csetmessageid: <1384695203.9.0.962151546448.issue1284@bts.grml.org>
2013-11-17 13:33:23Xk2clinkissue1284 messages
2013-11-17 13:33:23Xk2ccreate