>>>>> "Steve" == Steve Wray <[EMAIL PROTECTED]> writes:

    Steve> In trying to use ExecResult to do some manipulation of
    Steve> lists, I found some interesting and unexpected results.

    Steve> The variable in this example:

    Steve> someresult = ( ExecResult(/bin/sh "/bin/echo baz|/bin/sed
    Steve> -e \"s/^\(.*\)$/&.conf/g\"") )

    Steve> is set to:

    Steve> <$/&.conf/g\"")>

    Steve> Thats delimited with the angle brackets for clarity.

    Steve> I've tried various combinations of quoting and
    Steve> backslash-escaping here, but its not working.

Ah, quoting hell. When I start to backslash my quotes like this I
normally switch to perl and use q{} and qq{}.

Sincerely,

Adrian

-- 
Who really wrote the works of William Shakespeare ?
http://www.pbs.org/wgbh/pages/frontline/shakespeare/


_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to