> From: Emanuele Rusconi <[email protected]> > Date: Sat, 23 Aug 2014 23:25:42 +0200 > To: LFS Support List <[email protected]> > Subject: Re: [lfs-support] 6.52 > > 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
grep -i fail make.fail check.fail install.fail ... , &/or '-ih' or '-il', etc. akh > > 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
