samuel.thibault at ens-lyon.org
Thu Nov 22 10:45:09 UTC 2007
Willem van der Walt, le Thu 22 Nov 2007 10:55:51 +0200, a écrit :
> On Thu, 22 Nov 2007, Daniel Dalton wrote:
> > It seems that if I type ./configure > file.txt
> > I get all the warnings on screen...
> If you want to do it with redirection, you need to redirect both stdin and
> stderr to the file.
> ./configure 2>1 > file.txt
It should rather be
./configure > file.txt 2>&1
Because else 2>&1 makes stderr to stdout before stdout got redirected to
More information about the Blinux-list