I'm trying to write a script that does something when the read line does not include a
* symbol in the line.
I've tried the following with no success:
if [ grep -v -q '*' ]which results in a too many arguments error
if [ "$(grep -v -q '*')" -eq '0' ];which results in a unary operator expected error.
What am I doing wrong?