gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] [PATCH] Fixes shebang line in devtools/striplog.


From: Gary E. Miller
Subject: Re: [gpsd-dev] [PATCH] Fixes shebang line in devtools/striplog.
Date: Wed, 13 Apr 2016 13:26:14 -0700

Yo Fred!

On Wed, 13 Apr 2016 13:13:42 -0700
Fred Wright <address@hidden> wrote:

> This was using the less reliable non-env version of the Python shebang
> line.  The fix was neglected in the previous commit.

> -#!/usr/bin/python
> +#!/usr/bin/env python

I do not understand this.  Looking at the man page, all env seems to
do is run the command with a changed environment,

    # man env
           env [OPTION]... [-] [NAME=VALUE]... [COMMAND [ARG]...]
           Set each NAME to VALUE in the environment and run COMMAND.

But your usage does not change the environment.  So what is it doing and
why is it better?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

Attachment: pgpCV9G5fw4oN.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]