Standard output -> file descriptor

From: rmck (rmckeever@earthlink.net)
Date: Wed Oct 09 2002 - 20:56:18 EDT


Hello,

I am creating a script that I want the Standard output to go to a file
descriptor, which then gets piped to a log file.

example..

#! /bin/sh
exec 6>&1

(command1....) 2>&6 | sort-u -n -o file.out

That command1 will be spewing out alot of stuff. My question is how much
output can the "file descriptor #6" handle?

thanks,
rob
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:05 EDT