Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2001 18:21:58 +0200 (EET)
From:      Bernie <root@myrealbox.com>
To:        Dave Runkle <dave@runkle.com>
Cc:        Bernie <Bernie_X@myrealbox.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Easy Questions -- newcomer
Message-ID:  <20011229182104.E3777-100000@>
In-Reply-To: <20011228154212.N59997-100000@trittico.fiddi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanx for the tip. Checked it out and works very nicely...

Bernie



On Fri, 28 Dec 2001, Dave Runkle wrote:

>
> > 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?20011229182104.E3777-100000>