From owner-freebsd-questions Wed Oct 24 13:24: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mxzilla4.xs4all.nl (mxzilla4.xs4all.nl [194.109.6.48]) by hub.freebsd.org (Postfix) with ESMTP id C3D8C37B401 for ; Wed, 24 Oct 2001 13:23:57 -0700 (PDT) Received: from xs4.xs4all.nl (rene@xs4.xs4all.nl [194.109.6.45]) by mxzilla4.xs4all.nl (8.12.0/8.12.0) with ESMTP id f9OKNue9037247 for ; Wed, 24 Oct 2001 22:23:56 +0200 (CEST) Received: (from rene@localhost) by xs4.xs4all.nl (8.9.0/8.9.0) id WAA22741 for questions@freebsd.org; Wed, 24 Oct 2001 22:23:56 +0200 (CEST) Date: Wed, 24 Oct 2001 22:23:56 +0200 From: rene@xs4all.nl To: questions@freebsd.org Subject: shell script that takes piped input? Message-ID: <20011024222356.B18891@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, this might be off-topic, but I risk it anyway ;) I would like to be pointed to an example of how to program a shell-script that can do something with a file it gets through a pipe, as such: somehost%myconfig | myscript.sh Thanx in advance for any usefull answers you might share with me.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message