On 21 August 2014 19:29, Michael Havens <[email protected]> wrote:
> [...]
> make>>make.fail
> make check>>check.fail
> [...]
> cat make.fail|grep -i fail
> cat check.fail|grep -i fail
> cat install.fail|grep -i fail
> [...]
> [...] none of the logs I created contain neither error nor fail

Side note: the "cat" are redundant, you can "grep -i fail make.fail".
Or, you can use a cat to send them all to a single grep:
    cat make.fail check.fail install.fail | grep -i fail

More importantly: the redirections ">" and ">>" will redirect stdout only,
anything that goes to stderr (errors, maybe?) will get lost.

You can use "&>>make.fail" or (equivalent) ">>make.fail 2>&1" to redirect
both.

-- Emanuele
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to