I am executing the following within PHP - $system = `/bin/ls /dcsa-ws1/share/webadm1/public_html/system-reports/security/rhosts/eqty | /bin/egrep -v "server|header|index|report|php|old|title" | /bin/head -$x | /bin/tail -1 | /bin/awk '{ print $1 }'` ;
$numlin = `/bin/cat /dcsa-ws1/share/webadm1/public_html/system-reports/security/rhosts/eqty/$system | /bin/wc -l` ; The first line resolves correctly for the system name. The $numlin does not appear to resolve correctly - appears to be an issues with passing the $system variable in the the second line. Any ideas. Any feedback will be appreciated. Thanks. Samir. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php