Date: Fri, 17 Dec 1999 15:36:53 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: Greg Pavelcak <gpav@som.umass.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Reading Output of "command 2>&1 | mail ..." Message-ID: <57611.945437813@axl.noc.iafrica.com> In-Reply-To: Your message of "Fri, 17 Dec 1999 07:38:52 EST." <19991217073851.A27607@oitunix.oit.umass.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 Dec 1999 07:38:52 EST, Greg Pavelcak wrote: > cvsup -1 -g -L 2 supfiles/checkout/all 2>&1 | mail -s "CVSup: Checkout Sources " gp > > It was taking longer than I expected, and I began to wonder if > there is a way for me to see this output in progress without > waiting for my mail. Yup, Use the tee(1) utility: cvsup -1 -g -L 2 supfiles/checkout/all 2>&1 | tee | \ mail -s "CVSup: Checkout Sources" gp The backslash simply continues the line. Ciao, Sheldon. 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?57611.945437813>