Date: Fri, 28 Dec 2001 15:51:10 -0800 (PST) From: Dave Runkle <dave@runkle.com> To: Bernie <Bernie_X@myrealbox.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Easy Questions -- newcomer Message-ID: <20011228154212.N59997-100000@trittico.fiddi.com> In-Reply-To: <Pine.WNT.4.40.0112280012280.257-100000@blast>
next in thread | previous in thread | raw e-mail | index | archive | help
> 2. How can i redirect the output of 'make' in c-shell with stdout
> in one file and stderr in another? i thied this:
> make >make_stdout.txt 2>make_stderr.txt
> but i got messg ambigus redirection. i suspect that the above
> works for bash only (or maybe not). In any case, what's the
> equivalent for tcsh?
Try script(1). It's installed with the base system, a utility to
capture each and every character that hits your screen. You'll start
it with, for instance:
script /var/tmp/logs/buildworld-011228.log
then go through all of your builds, and when you're done, type:
exit
to end the script. Now you can
less /var/tmp/logs/buildworld-011228.log
and view everything that happened, with full search capabilities.
See 'man 1 script' for details.
I think Clark answered the other questions quite nicely, so there is
nothing more to add.
Dave
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011228154212.N59997-100000>
