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

Frank Terbeck bts at bts.grml.org
Sun Nov 10 17:39:50 CET 2013


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

Sorry for being a bit unresponsive, got a lot on my plate these days.

Thilo Six wrote:
[...]
> sometime i have the need to check for avail progs but i do not want
> any output. I just want the return code. Attached patch adds this to
> check4progs().

Alright. I don't see were the variables with the colour escape sequences
are coming from. I'd lean towards not having coloured messages in these
utilities.

> PS. Regarding to:
>> The only thing you could have done better, was to send a patch with commit
>> message generated by "git format-patch". That way I could have applied this
>> using one command.
>
> I have no experienced what to do here. So i sent this patch "as is".

Well, we keep our code in separate git repositories. If you don't know
git yet, there's a free book only at: http://git-scm.com/book

We also keep some information about contributing to grml at:
http://grml.github.io/

The goal would be to create one email message per version control
commit. You can send those to grml-etc-core at grml.org or just attach them
to the issue you opened. Then git has some utilities to import them
again at my end with virtually no manual work at all.

I wrote about that work-flow a while back:
http://bewatermyfriend.org/posts/2007/10-02.17-22-07-computer.html

Regards, Frank

-- 
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
                                                  -- RFC 1925

----------
assignedto: ft
files: script-functions
messages: 4670, 4671, 4672, 4673, 4674
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