hi all,
i want to ping a host (called uc421) then get the returned error value in a file called ping_error. so i did it this way;
use Tk;
system("rsh *l grl pgrl /bin/awk '{
/sbin/ping -c 1 uc421
$! >> ping_error
}'"
;
but it doesn't work, and the followin' message is displayed:
syntax error unexpected '}'.
if anyone has a clue, thanks
i want to ping a host (called uc421) then get the returned error value in a file called ping_error. so i did it this way;
use Tk;
system("rsh *l grl pgrl /bin/awk '{
/sbin/ping -c 1 uc421
$! >> ping_error
}'"
but it doesn't work, and the followin' message is displayed:
syntax error unexpected '}'.
if anyone has a clue, thanks