On 24 March 2011 16:07, Donald Russell <[email protected]> wrote:
> ext='\"dnr\"'

Untested, but try
either

    ext='"dnr"'    (i.e. single quote,  double quote
                           then the string,
                       then double quote,  single quote

or

   ext=\"dnr\"

You only need one of these to escape the double quote
Using *both* of them passes the backlashes through to the 'snmpset' command.
This needs to see the double quote characters - but nothing else.

Dave

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to