From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12985 invoked from network); 9 Jun 1999 19:56:48 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 9 Jun 1999 19:56:48 -0000 Received: (qmail 15185 invoked by alias); 9 Jun 1999 19:56:30 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2374 Received: (qmail 15178 invoked from network); 9 Jun 1999 19:56:29 -0000 To: ZSH Users Subject: Re: tee-like file redirection in shell? References: <19990609094032.A15964@astaroth.nit.gwu.edu> From: Bruce Stephens Date: 09 Jun 1999 20:16:39 +0100 In-Reply-To: Sweth Chandramouli's message of "Wed, 9 Jun 1999 09:40:32 -0400" Message-ID: User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) XEmacs/20.4 (Emerald) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sweth Chandramouli writes: > is there currently some way to reproduce the effect of > the tee command in the shell itself, Yes. This works for me: % ps > some_file | cat You need the multios option set, and I don't recall whether it's the default or not (it probably should be). Is there any nicer way to say "save to a file and show the results" than using the ugly "| cat"?