[aprssig] Programming Language Advice
Magne Mæhre magne at samfundet.noWed Jan 28 20:17:41 UTC 2009
- Previous message: [aprssig] test.....please ignore.
- Next message: [aprssig] Programming Language Advice
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Chuck.Gooden at comcast.net wrote: > No that's not correct, for Python scripts you use: > #!/bin/python > For Perl scripts use: > #!/bin/perl I would line to suggest that /usr/bin/env is used, like #!/usr/bin/env python or #!/usr/bin/env perl to ensure better portability the "#!" (a.k.a "shebang") mandates a full path, and not all systems have perl/python/ruby/whatever in /bin. env(1), on the other hand, is required (SUS/Posix) to live in /usr/bin. The point of env(1) is that it searches your PATH for the given binary, and executes it from wherever it finds it. --Magne / LA1BFA
- Previous message: [aprssig] test.....please ignore.
- Next message: [aprssig] Programming Language Advice
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the aprssig mailing list
