[issue1284] check4progs() add option to operta in silent mode

Frank Terbeck bts at bts.grml.org
Sun Nov 17 14:59:42 CET 2013


Frank Terbeck <ft at grml.org> added the comment:

Thilo Six wrote:
[...]
>>     [ -n "$ZSH_VERISON" ] && emulate -L sh
>
> I tried this, same effect as before - it does not work.
> I guess the reason is the same, since "emulate -L sh" isn't activated
> '$ZSH_VERISON' will not be evaluated correctly.
> Setting "emulate -L sh" prior to running the function in zsh fixes this.

Err, heh. Well, looks like a typo snuck in. That should obviously be
VERSION, not VERISON. So:

    [ -n "$ZSH_VERSION" ] && emulate -L sh

----------
assignedto: ft
files: check4progs.PATHloop, script-functions, script-functions
messages: 4670, 4671, 4672, 4673, 4674, 4675, 4676, 4677, 4678, 4679, 4682, 4683, 4684, 4685, 4686
nosy: Xk2c, ft
priority: wish
status: chatting
title: check4progs() add option to operta in silent mode

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue1284>
_____________________________________


More information about the Bugs-changes mailing list