in reply to Re^6: Help on foreach loop
in thread Help on foreach loop
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/*`;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Help on foreach loop
by ysth (Canon) on Sep 09, 2004 at 18:30 UTC | |
|
Re^8: Help on foreach loop
by Anonymous Monk on Sep 09, 2004 at 18:23 UTC |