On 12/26/05, Reinhard Schneidewind <[EMAIL PROTECTED]> wrote:
> And what does 2>&1 mean?

It means redirect standard error (which has a file descriptior of 2)
to standard ouput (which has a file descriptor of 1). Since you're
already directing standard output to a file using the > operator,
you're effetively saying "redirect standard error into standard ouput,
and redirect standard output to this file". In other words, anything
that would usually be displayed on the console (error messages and
general information) will instead be saved to glibc-check-log.

If you execute both of those commands and nothing happens, then the
test suite has been successful. 'make -k check >glibc-check-log 2>&1'
won't give any output anyway because you're redirecting it all to a
file and if grep gives no output that means it hasn't matched any
lines. No output indicates success on the vast majority of Unix
command line tools.

As Randy said, if you honestly don't understand this you're probably
not ready for LFS - both concepts are core ideas in Unix/Linux.

Paul

--
Rogue Tory
http://www.roguetory.org.uk
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to