Bug in 7.2-STABLE's /bin/sh?

Andre Albsmeier Andre.Albsmeier at siemens.com
Thu Oct 1 15:12:34 UTC 2009


Hello all,

is it correct to print OK here?

------------------ snip ------------------

#!/bin/sh

if false || ! echo bla | grep -q bla; then
  echo OK
fi

------------------ snap -------------------

7.2-STABLE (can't check others at the moment)
does which I think is wrong...

Thanks,

	-Andre


More information about the freebsd-stable mailing list