On 1/23/07, Josh Yost <[EMAIL PROTECTED]> wrote: > Hi, > > You should be able to backslash the quotes you need it to print: > $ echo "\"hi\"" > > I'm not sure where above you would want them, maybe something like > \"$SOMEMACRO$\" \"$SOMEOTHERMACRO$\" ? > > - Josh >
The app I'm using takes two variables: /client <contact name> "<message>" Contact name I have defined in contacts.cfg as address1. The message has to be quoted when handed to the app. I would think this would work - as it does for sendmail which has the same requirements...I thought. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null