Scripts

Marty Landman MLandman at face2interface.com
Mon Feb 16 09:45:04 PST 2004


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



More information about the freebsd-questions mailing list