lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: LYNX-DEV Signal 11 with SimTel Search.


From: Paul Gilmartin
Subject: Re: Re: LYNX-DEV Signal 11 with SimTel Search.
Date: Mon, 9 Dec 1996 13:18:54 -0700 (MST)

In a recent note, Wilson Cheung said:

> Date: Sun, 8 Dec 1996 20:59:22 -0800 (PST)
> 
> > On Mon, 9 Dec 1996 address@hidden wrote:
> > 
> > > How do i save the output of trace to a file?
> 
> You can also usually get this same sort of effect under csh/tcsh on
> most of the Unix'es I've used with a command like:
> 
> (lynx -trace http://lynx.browser.org/ > /dev/tty) >& trace.log
> 
Here's mine:
=============================================================
#! /bin/sh -vx

# Redirecting stderr to a pipe --
#     An exercise in understanding Bourne shell redirection.
#     Put error messages in a file.

( ${SHELL} 2>&1 1>&9 | tee stderr.log >&2 ) 9>&1
exit $?
=============================================================

Tees stderr to stderr.log and back to the screen.

-- gil
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]