[CentOS] shell script strangeness...

Fri May 16 04:28:46 UTC 2008
Craig White <craigwhite at azapple.com>

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?