From: Greg Russell on
I need to cat a file if it has more than 30 lines and doesn't contain
"#00000". Either of the two tests below work fine individually, but when
combined with the && operator the test fails:

$ if [ `wc -l /tmp/post | awk '{print $1}'` -gt 30 &&\
! `grep -l "\#00000" /tmp/post` ]; then cat /tmp/post; fi
[: missing `]'
$

Where is my syntax error, please?