I'm struggling to see why the following is returning a code of 1.
echo 'Total' | grep -c No
0
So "No" doesn't exists in "Total". But then looking up its return code I'm seeing it as 1.
echo $?
1
Why is return code showing up as 1? Is there a way to get around this?