RE: Output file...

Howard Cheng (hcheng@cs.ualberta.ca)
Thu, 10 Apr 1997 17:48:10 -0600 (MDT)


Albert_Garrido_at_RUPOST2@ccmail.nextel.com wrote:
> From owner-deschall@gatekeeper.megasoft.com Thu Apr 10 12:13:38 1997
> From: Albert_Garrido_at_RUPOST2@ccmail.nextel.com
> Date: Thu, 10 Apr 97 13:58:04 EST
> Message-Id: <9703108607.AA860705784@ccmail.nextel.com>
> To: "Freddie Cash" <derf@twu.ca>, deschall@gatekeeper.megasoft.com
> Subject: RE: Output file...
> Sender: owner-deschall@gatekeeper.megasoft.com
> Precedence: bulk
>
> It's a bit sloppy, but you can just do
> deschal4 206.168.13.85 > logfile.txt
> (The > arrow is just a simple pipe)
>
> -----Original Message-----
> From: "Freddie Cash" <derf@twu.ca>
> Sent: Thursday, April 10, 1997 1:50 PM
> To: deschall@gatekeeper.megasoft.com
> Subject: Output file...
>
> Hey all, I was wondering, how does one set up the deschal client to
> output
> to a file instead of to the screen (or both at the same time)?

If you are on a Unix platform, you can use the "tee" command to get both
screen and file output, just do:

prog | tee > logfile

Howard

-- 
Howard Cheng                     e-mail: hcheng@gpu.srv.ualberta.ca
University of Alberta                    hcheng@cs.ualberta.ca
4th year Honors Comp. Sci.       URL   : http://ugweb.cs.ualberta.ca/~hcheng/

A thing is obvious mathematically after you see it. - R.D. Carmichael