Thread #!/usr/lib/perl5/perl => #!usr/bin/perl: Wie mache ich das? (5 answers)
Opened by pktm at 2003-08-30 00:41

pq
 2003-08-30 02:38
#95129 #95129
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
oder so:
Code: (dl )
1
2
 $ find pfad -name "*.pl" -exec perl -pi.bak -e'
s;^#!/usr/bin/perl;#!/usr/lib/perl5/perl; if $. == 1' {} \;


Edit: typo\n\n

<!--EDIT|pq|1062196846-->
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread #!/usr/lib/perl5/perl => #!usr/bin/perl: Wie mache ich das?