make ppower -m take exit-on-match option
Brought to you by:
swbrown
It'd be super-cool if ppower -m could be made to
(optionally of course) run until it sees a given
occurance (either a regex, or just a simple match of
some sort) and then exit with a meaningful error code.
I know ppowerd can run macros when conditions are met,
but more flexibility is good.
Combining this with a timeout would be a good idea too.