The Coding Slim Jim
Ahh.. who gave the code-monkey a wrench?
Thursday, September 16, 2010
Portable script shebang
Let say you need a script to execute on multiple systems but the admins and OS's all have there own idea on where things belong. Here is a quick way to get the script to locate the interpreter 99% of the time
#!/usr/bin/env perl
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment