Re: Log file creation
Ralf Wildenhues <[email protected]>
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Organization | Department of Numerical Simulation, University of Bonn |
| Message-ID | <[email protected]> |
* 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 Cheers, Ralf