Bug in 7.2-STABLE's /bin/sh?
Andriy Gapon
avg at icyb.net.ua
Thu Oct 1 15:44:13 UTC 2009
on 01/10/2009 17:49 Andre Albsmeier said the following:
> 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...
This looks like a bug and it seems to be fixed in head.
Forgotten MFC?
--
Andriy Gapon
More information about the freebsd-stable
mailing list