Displaying 1 result from an estimated 1 matches for "7d6ecfea".
2008 May 16
2
shell script strangeness...
On my CentOS 4.6 server, this works...
if [ -z `grep entry_chooser.js /var/log/httpd/access_log` ]
On my CentOS 5.1 server, this gives me the following error...
./test_file.scr: line 3: [: too many arguments
Can anyone explain why the difference and suggest something that makes
both cases happy?
Thanks
Craig