HP3000-L Archives

May 1996, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jeff Kell <[log in to unmask]>
Reply To:
Jeff Kell <[log in to unmask]>
Date:
Wed, 8 May 1996 09:26:39 EDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
On Mon, 6 May 1996 11:30:47 -0700 Charles Finley said:
>Some time ago Jeff Kell said:
>>Note that in the 5.0 shell, it does not support the
>> implied shell invocation, e.g., #!/usr/local/bin/perl as first line of the
>> script will *not* work like Un*x.  You will have to "perl yourscript"
>> rather than simply "yourscript".  To fix this, I've included a small utility
>> to alter perl scripts so they *will* work directly from the shell.  This is
>> found in /usr/local/bin/makeperl.  To use it to convert a script, do:
>
>I tried this
>>
>>    makeperl < myscript > newscript
>
>With this result:
>
>shell/iX> /usr/local/bin/makeperl < add.cgi > nadd.cgi
>Problem opening the file at /usr/local/bin/makeperl line 8.
 
Sorry folks, documentation error :-)  The script takes the first argument
as the input file name, not a redirected file.  So the correct usage should
be:
 
   /usr/local/bin/makeperl add.cgi > nadd.cgi
 
Also, this "shell workaround" will not be needed in 5.5 (but any patched
scripts continue to work)
 
Jeff Kell <[log in to unmask]>

ATOM RSS1 RSS2