[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Log file creation
From: |
Ralf Wildenhues |
Subject: |
Re: Log file creation |
Date: |
Fri, 15 Dec 2006 08:52:18 +0100 |
User-agent: |
Mutt/1.5.13 (2006-11-01) |
* Henrik Carlqvist wrote on Fri, Dec 15, 2006 at 08:35:49AM CET:
> "ajlu" <visweshram@gmail.com> wrote:
> >
> > Let me know how to create a log file for make.( ie., I have a project
> > with make file I wish to create a log file for this make file).
>
> This solution is not really specific for make:
>
> make |& tee myfile.log
It's specific to your shell though. The following should work for all
Bourne compatible shells:
make 2>&1 | tee myfile.log
Cheers,
Ralf