learning / relearning bash scripting. The following if - elif statement gets a conditional binary operator error on the first elif:
if [ $len -eq 1 ]; then
grep -i -H $1 *.org
elif [[ [ $len -eq 2 ] -a { [ $1 == "keyword" ] -o [ $1 == "todo" ] } ]]; then
Yeah, I am an old noob, I am stumped. it looks ok to me. swgeek
Corrected some spacing errors, tried playing with parenthesis, searched here on conditional binary operator, and will continue that search, but nothing close enough for the light bulb to go on.