Have a application where I need to send a command which needs to contain "\"
so the final string to send would be "blah blah item\ 0-9\ 10-14 more blah blah blah"
I have variable $object = 'item 0-9 10-14'
# command template $cmd ="blah blah $object blah blah"; ( $output, $errput ) = $ssh->capture2( $cmd ) or $logger->logdie( "Export failed: " . $ssh->error );
In reply to Net::OpenSSH quoting problems by jhuijsing
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |