From owner-freebsd-questions Fri Jan 21 9:32: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from news-ma.rhein-neckar.de (news-ma.rhein-neckar.de [193.197.90.3]) by hub.freebsd.org (Postfix) with ESMTP id CCCA315509 for ; Fri, 21 Jan 2000 09:31:56 -0800 (PST) (envelope-from daemon@bigeye.rhein-neckar.de) Received: from bigeye.rhein-neckar.de (uucp@localhost) by news-ma.rhein-neckar.de (8.8.8/8.8.8) with bsmtp id SAA07081 for freebsd-questions@freebsd.org; Fri, 21 Jan 2000 18:31:52 +0100 (CET) (envelope-from daemon@bigeye.rhein-neckar.de) Received: (from daemon@localhost) by bigeye.rhein-neckar.de (8.9.3/8.9.3) id QAA05983 for freebsd-questions@freebsd.org; Fri, 21 Jan 2000 16:41:47 +0100 (CET) (envelope-from daemon) From: naddy@mips.rhein-neckar.de (Christian Weisgerber) Subject: Re: sh(1) Messing with My Mind Date: 21 Jan 2000 16:41:47 +0100 Message-ID: <869unr$5qn$1@bigeye.rhein-neckar.de> References: <867h6j$1kk4$1@atlantis.rz.tu-clausthal.de> <200001202140.WAA05161@dorifer.heim3.tu-clausthal.de> <20000120175518.F72914@cc942873-a.ewndsr1.nj.home.com> To: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Crist J. Clark wrote: > > > $ echo 3 | read NUM > I could swear I have done this in the past. Quite possible, if you were using AT&T ksh. Which happens to be the only Bourne-style shell that executes the final command of a pipeline in the parent shell. -- Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message