Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 2009 16:49:46 +0200
From:      Andre Albsmeier <Andre.Albsmeier@siemens.com>
To:        freebsd-stable@freebsd.org
Subject:   Bug in 7.2-STABLE's /bin/sh?
Message-ID:  <20091001144946.GA75477@curry.mchp.siemens.de>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091001144946.GA75477>