The problem that i am facing now is that when grep dosen't return a match, I don;t know what value is stored in $newFile, how to check if value in $newFile is null or not$newFile = `grep -l $commonField $responseDir/*`;
In reply to Re^7: Help on foreach loop
by Anonymous Monk
in thread Help on foreach loop
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |