On Fri, Dec 15, 2006 at 08:52:18AM +0100, Ralf Wildenhues wrote:
> * Henrik Carlqvist wrote on Fri, Dec 15, 2006 at 08:35:49AM CET:
> > "ajlu" <[EMAIL PROTECTED]> 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
> 

He could also run script.

Enter script -a logfile

and then run make (or whatever), and when done do Ctrl-d (^D) to
terminate script.

I like your idea better, though.

Lee




_______________________________________________
help-gnu-utils mailing list
help-gnu-utils@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to