...[Perl Program] $testprog = "testprog"; $a=1; $b=2; $c="This is a test"; system($testprog $a $b $c)
How do I get $c to be "This is a test"? Do I use shift or something else?[in Shell script "testprog"] a=$1 b=$2 c=$3 echo $a = 1 echo $b = 2 echo $c = "This"
In reply to Passing Command line values from Perl to Sh via system() by P0w3rK!d
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |