I am trying to pass a variable as a parameter to another script but special characters throw it for a loop.
Basically a menu program gets the password from the user, then calls another perl script which in turn loops through a list of hosts issuing a command like this:
my $temp = `ssh $_ autopasswd_oracle.exp $user $password`;
($_ contains a hostname)
Now if you give it a good password like kjiuIU*& then it chokes and gets error messages. Any ideas would be more than welcome.
Thank you!
In reply to Controlling the shell... by rementis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |