On Thu, 2002-04-18 at 08:04, Tony Green wrote:
> make 2>&1 > tmp.log
>
not sure on bash but this does not work in KSH. What you are saying
is:
redirect 2 (stderr) to stdout (what 1 represents now)
redirect 1 (stdout) to a file, but not the stderr which is going to
stdout.
make > tmp.log 2>&1
will always work.
Jan,
make &> tmp.log
should be, probable fat fingers :-):
make >& tmp.log
Must admit that I was not aware of this one before studying LPIC with
Geoff at Granville TAFE.
KenF
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug