in reply to Re^3: system command and formatting
in thread system command and formatting
now, the $foo variable is passed to the perl program. the variable $foo is used for system command in perl. example:$foo="ID_106"; system("perl split.pl $foo");
Over here, $var doesnt work :($bar=$ARGV[0]; (the argument input, so now $bar="ID_106") $var=system("grep -A 1 $bar *.txt"); print $var;
|
|---|