[ale] Bash Shell Scripting

Bob's Bulk mail transam at cavu.com
Tue Sep 10 17:18:12 EDT 1996


> From transam at cavu.com Tue Sep 10 17:12:00 1996
> From: David Hamm <dhamm at itserve.com>
> To: "'ALE'" <ale at cc.gatech.edu>
> Subject: [ale] Bash Shell Scripting
> Date: Tue, 10 Sep 1996 15:30:29 -0400

> I've seen somewhere that you could redirect the output from _stderr_ of a
> program to a file,
> ...

	program 2> stderr_file

also

	program > stdout_file 2> stderr_file

Btw, csh types can do the following (assuming stdout is the terminal)

	(program > /dev/tty ) >& stderr_file

or

	(program > stdout_file ) >& stderr_file

Bob Toxen
bob at cavu.com
transam at cavu.com [ALE]
http://www.mindspring.com/~cavu
Fly-By-Day Consulting, Inc.
"Venimus, Vidimus, Dolavimus" (We came, we saw, we hacked)






More information about the Ale mailing list