From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] multiple inputs From: glenda@cwru.edu In-Reply-To: <22c65f87f1174822b66d9c35b6ed9c14@juice.thebigchoice.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-lgvpenhslwiuefsghskgbtfrul" Date: Tue, 30 Mar 2004 07:10:09 -0500 Topicbox-Message-UUID: 473ab2b4-eacd-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-lgvpenhslwiuefsghskgbtfrul Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Sorry I wasn't clear enough in my explaination. You need to put the brackets on the outside to make the combination of tail -f's act like a single 'tail -f'. That was my real conceptual misunderstanding the first time around. If you just do all the 'tail &' without bracketing them you get dumped back into the shell immediately which isn't the sort of behavior I was thinking about, although perfectly valid in many cases. Noah --upas-lgvpenhslwiuefsghskgbtfrul Content-Type: message/rfc822 Content-Disposition: inline Return-path: <9fans-admin@cse.psu.edu> Received: from mpspam4.TIS.case.Edu (mpspam4.tis.case.Edu [129.22.104.191]) by ims-msg.cwru.edu (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTPS id <0HVE013AP6YQFM@ims-msg.cwru.edu> for npe@cwru.edu; Tue, 30 Mar 2004 09:01:38 -0500 (EST) Received: (from localhost [127.0.0.1]) by mpspam4.TIS.case.Edu (MOS 3.4.4-GR) id AEE36173 (forwarded by mail filter of npe); Tue, 30 Mar 2004 09:01:38 -0500 (EST) Received: from mirapoint2.tis.cwru.edu (mirapoint2.TIS.CWRU.Edu [129.22.104.47]) by mpspam4.TIS.case.Edu (MOS 3.4.4-GR) with ESMTP id AEE36141; Tue, 30 Mar 2004 09:01:30 -0500 (EST) Received: from mail.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mirapoint2.tis.cwru.edu (MOS 3.4.3-CR) with ESMTP id ASJ26727; Tue, 30 Mar 2004 09:01:29 -0500 (EST) Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 30A4219E22; Tue, 30 Mar 2004 09:01:27 -0500 (EST) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 72C3619BAB; Tue, 30 Mar 2004 09:01:25 -0500 (EST) Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 2AC1519E22; Tue, 30 Mar 2004 09:00:48 -0500 (EST) Received: from juice.thebigchoice.com (cpc1-nott2-3-0-cust18.nott.cable.ntl.com [80.4.204.18]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id DD15919E23 for <9fans@cse.psu.edu>; Tue, 30 Mar 2004 09:00:46 -0500 (EST) Date: Tue, 30 Mar 2004 15:03:10 +0100 From: matt@proweb.co.uk Subject: Re: [9fans] multiple inputs In-reply-to: <34cf493ae26944869c1f4b427f1d1649@cwru.edu> Sender: 9fans-admin@cse.psu.edu To: 9fans@cse.psu.edu Errors-to: 9fans-admin@cse.psu.edu Reply-to: 9fans@cse.psu.edu Message-id: <22c65f87f1174822b66d9c35b6ed9c14@juice.thebigchoice.com> MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit Precedence: bulk X-BeenThere: 9fans@cse.psu.edu Delivered-to: 9fans@cse.psu.edu X-Mirapoint-Loop-ID: 811fb6a4e302e88359c330cc41c36808 X-Original-To: 9fans@cse.psu.edu X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on psuvax1.cse.psu.edu X-Spam-Status: No, hits=0.3 required=5.0 tests=NO_REAL_NAME autolearn=no version=2.63 X-Junkmail-Status: score=5/45, host=mpspam4.TIS.case.Edu X-Mailman-Version: 2.0.11 List-Archive: List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> Original-recipient: rfc822;npe@spamfree.cwru.edu untested but surely : fn bt { for (i in $*) { { tail -f $i} & } } or even fn tail_it { tail -f $1 & } fn bt { for (i in $*) tail_it $i } m --upas-lgvpenhslwiuefsghskgbtfrul--