in reply to How do I change the shebang line for all perl scripts in a directory
If I'm understanding what you are saying, you have a whole bunch of perl scripts, and you need to change one line (#!/usr/bin/perl??) to #!/usr/local/bin/perl on all of the perl files in a dir? If that is the case technically you could write a perl script to do it. It wouldn't take long, or much to hack one out. Is my understanding correct?
-- Yes, I am a criminal. My crime is that of defyance.
-- Yes, I am a criminal. My crime is that of defyance.
|
---|
Replies are listed 'Best First'. | |
---|---|
Auto shebang hacking
by rinceWind (Monsignor) on Mar 13, 2002 at 00:30 UTC | |
by merlyn (Sage) on Mar 13, 2002 at 01:03 UTC |
In Section
Seekers of Perl Wisdom