| To: | Ken McDonell <kenj@xxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: Args run together in pmie actions |
| From: | Martin Hicks <mort@xxxxxxx> |
| Date: | Tue, 29 Apr 2008 16:17:24 -0500 |
| Cc: | pcp <pcp@xxxxxxx> |
| In-reply-to: | <1209502039.31660.9.camel@bozo.localdomain> |
| References: | <20080429161941.GF6076@alcatraz.americas.sgi.com> <1209502039.31660.9.camel@bozo.localdomain> |
| Sender: | pcp-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.9i |
On Tue, Apr 29, 2008 at 08:47:19PM +0000, Ken McDonell wrote: > This is not a bug, it is designed to work that way ... 8^)> > > The %i %v and %h substitution occurs in buidling the string and the > action is fired once. > > If you rewrite the rule thusly, all will be well ... > > ... -> syslog "there is a load" " [%i] %v"; Thanks guys. So "shell" actions just have to iterate through multiple args and figure out how many instances are true... That's no big deal, just not the way I thought it worked. Thanks mh PS. Some braindamaged SGI mailserver is rewriting my e-mails to the pcp list and removing the "oss" part of the domain. Hopefully they'll fix this soon, and hopefully we'll all stop sending Paul Pedersen e-mail. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Args run together in pmie actions, Martin Hicks |
|---|---|
| Next by Date: | pcp updates, nscott |
| Previous by Thread: | Args run together in pmie actions, Martin Hicks |
| Next by Thread: | Re: Args run together in pmie actions, Martin Hicks |
| Indexes: | [Date] [Thread] [Top] [All Lists] |