Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2004 12:44:35 -0500
From:      Marty Landman <MLandman@face2interface.com>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>, Eric Toll <etoll@vipstructures.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Scripts
Message-ID:  <6.0.0.22.0.20040216123823.01b4a330@pop.face2interface.com>
In-Reply-To: <20040216165917.GA90010@happy-idiot-talk.infracaninophile.c o.uk>
References:  <9BC86C67C3AF7646B9C5382020457A940136C5@VIP10-WIN2K> <20040216165917.GA90010@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.0.20040216123823.01b4a330>