On Wed, 2002-04-17 at 19:10, henry wrote:
> Dear List :
> 
> Sometimes I make Makefile ,I get lots of error messages so that I cant look them in 
>time.
> I try to "make > tmp.log" , but it fail (I cant dump those error message into 
>tmp.log).
> Could someone show a good solution ?
> 
This is valid for bash/ksh

make 2>errors 1>nonerrors
make 2>&1 > tmp.log

take your pick (also see the man page for your shell and look for
redirection)
-- 
Tony Green <[EMAIL PROTECTED]>
Tel       :   +61-(0)2-9500-9996    
Mobile    :   +61-(0)4-2521-9996    
GnuPG Key :  1024D/B5657C8B
Key fingerprint = 9ED8 59CC C161 B857 462E  51E6 7DFB 465B B565 7C8B

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to