From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6967 invoked from network); 9 Jun 1999 13:57:37 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 9 Jun 1999 13:57:37 -0000 Received: (qmail 16628 invoked by alias); 9 Jun 1999 13:57:12 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2368 Received: (qmail 16597 invoked from network); 9 Jun 1999 13:56:25 -0000 To: zsh-users@sunsite.auc.dk Path: mason From: mason@primenet.com.au (Geoff Wing) Newsgroups: lists.zsh.users Subject: Re: tee-like file redirection in shell? Date: 9 Jun 1999 13:56:19 GMT Organization: PrimeNet Computer Consultants Distribution: local Message-ID: References: <19990609094032.A15964@astaroth.nit.gwu.edu> Reply-To: mason@primenet.com.au NNTP-Posting-Host: coral.primenet.com.au X-Trace: coral.primenet.com.au 928936579 6922 203.43.15.2 (9 Jun 1999 13:56:19 GMT) X-Complaints-To: usenet@coral.primenet.com.au NNTP-Posting-Date: 9 Jun 1999 13:56:19 GMT User-Agent: slrn/0.9.5.6 (UNIX) Sweth Chandramouli typed: : is there currently some way to reproduce the effect of :the tee command in the shell itself, and if not, what do people :think of the idea of adding that ability (either by new file :redirectors or by making tee a builtin)? a couple of times :recently, i've been caused many problems by the fact that tee :is a standalone program, and as such doesn't care about the :value of options like clobber; since tee _is_ basically just :another form of file redirection, it would be nice to have it's :behaviour be consistent with the other forms provided by the :shell. You need to have the appropriate setopt. See MULTIOS in the manual. Regards, -- Geoff Wing Mobile : (Australia) 0413 431 874 Work URL: http://www.primenet.com.au/ Ego URL: http://pobox.com/~gcw/