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

Thilo Six bts at bts.grml.org
Tue Nov 12 17:30:56 CET 2013


Thilo Six <tech at xk2c.de> added the comment:

Hello

i am again. Hope you still like reading mail from me.  ;)
Frank suggested using shell builtin instead of '\which'.

To my experience this noticeable speeds thinks up, which  ;)
is logically since changing '\which foo' to 'builtin which foo' 
reduces filesystemseeks by 50%.
Since 'builtin which foo' is zsh specific this resulted in quite a big patch
linewise.
So if you are interested here is the updated patch for check4progs().

Regards,
Thilo

----------
assignedto: ft
files: script-functions, script-functions
messages: 4670, 4671, 4672, 4673, 4674, 4675, 4676, 4677, 4678, 4679
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>
_____________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: script-functions
Type: application/octet-stream
Size: 5239 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/bugs-changes/attachments/20131112/135776f0/attachment.obj>


More information about the Bugs-changes mailing list