From owner-freebsd-questions@FreeBSD.ORG Mon Feb 16 09:45:04 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C791E16A4CE for ; Mon, 16 Feb 2004 09:45:04 -0800 (PST) Received: from www6.web2010.com (www6.web2010.com [216.157.5.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 786EE43D1D for ; Mon, 16 Feb 2004 09:45:04 -0800 (PST) (envelope-from MLandman@face2interface.com) Received: from delliver.face2interface.com (dialup-wash-129-203.thebiz.net [64.30.129.203] (may be forged)) by www6.web2010.com (8.12.10/8.9.0) with ESMTP id i1GHiaZ3026032; Mon, 16 Feb 2004 12:44:45 -0500 (EST) Message-Id: <6.0.0.22.0.20040216123823.01b4a330@pop.face2interface.com> X-Sender: face@pop.face2interface.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Mon, 16 Feb 2004 12:44:35 -0500 To: Matthew Seaman , Eric Toll From: Marty Landman In-Reply-To: <20040216165917.GA90010@happy-idiot-talk.infracaninophile.c o.uk> References: <9BC86C67C3AF7646B9C5382020457A940136C5@VIP10-WIN2K> <20040216165917.GA90010@happy-idiot-talk.infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: Scripts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 17:45:04 -0000 At 11:59 AM 2/16/2004, Matthew Seaman wrote: >On Mon, Feb 16, 2004 at 11:40:56AM -0500, Eric Toll wrote: > > > > less textfile | script.pl > >Usually you would do that by: > > % script.pl < textfile If the shebang is ng or missing you could do % perl script.pl < textfile assuming that 'which perl' gives something like /usr/bin/perl Marty Landman Face 2 Interface Inc 845-679-9387 This Month's New Quiz --- Past Superbowl Winners Make a Website: http://face2interface.com/Home/Demo.shtml