Order Tray | Contact Us | Home | SIG Lists

[aprssig] Programming Language Advice

Jason KG4WSV kg4wsv at gmail.com
Thu Jan 29 18:35:19 UTC 2009


On Wed, Jan 28, 2009 at 2:17 PM, Magne Mæhre <magne at samfundet.no> wrote:

> 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.

On the other claw, security absolutely requires the full path to the
interpreter to avoid trojans that get placed somewhere in the path.

-Jason
kg4wsv



More information about the aprssig mailing list