On 04/26/2018 09:17 AM, Assaf Gordon wrote:
> Attached an updated patch, hopefully addressing all the issues below.

Great work, thanks!

One nit: env -v shows a confusing error diagnostic when it is
separated from the -S option on the shebang line:

  $ cat xxx
  #!src/env -v -S cat -n
  hello

  $ ./xxx
  src/env: invalid option -- ' '
  Try 'src/env --help' for more information.

or on the command line:

  $ src/env '-v -S cat -n' <<<'a'
  src/env: invalid option -- ' '
  Try 'src/env --help' for more information.

Well, env doesn't know at that point that -S is coming later ... still
the error message is really confusing.  Any idea?

Have a nice day,
Berny

Reply via email to