Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

Re: [PATCH] Add OS X support to the pre-auto-gc example hook

From: Miklos Vajna <hidden>
Date: 2016-06-15 22:45:24

On Tue, Sep 23, 2008 at 11:43:23PM +0100, Jonathan del Strother [off-list ref] wrote:
Shell scripting isn't my fortĂŠ, suggestions for improvements would be
welcome.

+elif test -x /usr/bin/pmset && (! /usr/bin/pmset -g batt | grep -q 'Battery Power' )
What about

+elif test -x /usr/bin/pmset && /usr/bin/pmset -g batt | grep -q 'AC Power'

?

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help