#! problems

Pete Holsberg pjh at mccc.edu
Sat Mar 30 06:27:35 AEST 1991


In article <1991Mar28.215544.5391 at iwarp.intel.com> merlyn at iwarp.intel.com (Randal L. Schwartz) writes:
=In article <4723 at cocoa7.UUCP>, protofan at motcid (Mike S. Protofanousis) writes:
=| What do I need to do so that I don't have to type 'perl script' to run
=| my perl script?  No, I don't want to use an alias.
=
=This is on the manpage, as well as being (at least twice) in The Book.
=Put:
=
=      eval '(exit $?0)' && eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
=      & eval 'exec /usr/bin/perl -S $0 $argv:q'
      ???  not && ??

Pete
-- 
Prof. Peter J. Holsberg      Mercer County Community College
Voice: 609-586-4800          Engineering Technology, Computers and Math
UUCP:...!princeton!mccc!pjh  1200 Old Trenton Road, Trenton, NJ 08690
Internet: pjh at mccc.edu	     Trenton Computer Festival -- 4/20-21/91



More information about the Comp.unix.questions mailing list