New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perlrun #!/bin/sh incantation n.g. 4 linux #7699
Comments
From brucer@cisco.comCreated by brucer@iceage.cisco.comperlrun incantation: #!/bin/sh -- # -*- perl -*- -p does not work What does work is: #!/bin/sh found at http://lists.gnu.org/archive/html/bug-bash/2001-07/msg00070.html This works on both solaris2.8 (ours anyway) and linux thanks, Perl Info
|
From @smpeters
The following patch to perlrun.pod applies the change suggested above. Inline Patch
|
The RT System itself - Status changed from 'new' to 'open' |
From @smpetersOn Tue Dec 21 09:36:12 2004, stmpeters wrote:
Thanks! Applied as change #34943. Steve Peters |
@smpeters - Status changed from 'open' to 'resolved' |
From @gbarrOn Nov 26, 2008, at 11:52 PM, Steve Peters via RT wrote:
It should be pointed out that a caveat of using -x is that line #!/bin/sh gives: But the die is on line 5. This offset will grow if more comments, or #!/bin/sh gives: Graham. |
From dscoular@gmail.comHi Graham, On Thu Nov 27 14:46:34 2008, gbarr wrote:
This is almost perfect with the one drawback that I have to remember perl -dx test.pl Otherwise I get the following: [dscoular@prestwick projects]$ perl -d magic.pl Loading DB routines from perl5db.pl version 1.28 Enter h or `h h' for help, or `man perldebug' for more help. /bin/sh: -d: invalid option I couldn't think of a nicer way to automate this and I could It would be great if your comment could make it into the perlrun doco. Cheers, Doug -- |
Migrated from rt.perl.org#32979 (status was 'resolved')
Searchable as RT32979$
The text was updated successfully, but these errors were encountered: