Mike Frysinger wrote:

this fails:
        (make -v | grep .) >/dev/null 2>&1

but this works:
        (make -v | grep .) >/dev/null 2>/dev/null

That's the same issue, because GNU 'make' sets stderr's O_APPEND flag too, so in the former case grep's stdout is in append mode whereas in the latter case it's not.



Reply via email to