> Therefore, I would expect:
> env "-S perl -e 'print qq([$_] ) for (@ARGV)' a b c"
> to output:
> [a] [b] [c]
Your example works on my FreeBSD server if the double quotes are
omitted, and the command is run from a shell:
env -S perl -e 'print qq([$_] ) for (@ARGV)' a b c
==> [a] [b] [c]
But
l.com>
>> To: fossil-users@lists.fossil-scm.org
>> Subject: Re: [fossil-users] "CGI" command and argc
>>
>> > So, I would expect both of the following to work:
>> > #!/usr/bin/env -S fossil2/fossil cgi fossil.config
>> > #!/user/bin/env -S foss
On Thu, Mar 30, 2017 at 7:32 AM, <fossil-users-requ...@lists.fossil-scm.org>
wrote:
>
> Date: Thu, 30 Mar 2017 11:15:37 +0200
> From: Florian Balmer <florian.bal...@gmail.com>
> To: fossil-users@lists.fossil-scm.org
> Subject: Re: [fossil-users] "CGI" command a
Thanks for the link and the additional information. I have stumbled
upon a website with meticulous research about the unspecified shebang
behavior across a wide range of systems:
https://www.in-ulm.de/~mascheck/various/shebang/
There's indeed so many variants that it may not be a good idea to do
On Tue, Mar 28, 2017 at 8:00 AM, <fossil-users-requ...@lists.fossil-scm.org>
wrote:
>
> Date: Tue, 28 Mar 2017 09:16:35 +0200
> From: Florian Balmer <florian.bal...@gmail.com>
> To: fossil-users@lists.fossil-scm.org
> Subject: [fossil-users] "CGI" comman
On Mar 28, 2017, at 1:16 AM, Florian Balmer wrote:
>
> #!./fossil cgi fossil.config
That relies on behavior POSIX hasn’t specified:
https://stackoverflow.com/questions/4303128/
What’s wrong with doing it the portable way?
#!/bin/sh
exec ./fossil cgi
On 3/28/17, Florian Balmer wrote:
>
> If I may I would like to suggest that the control file passed to the
> "CGI" command be read even if there's additional command line
> arguments following,
Since I have no way to test this, could you be specific about what
change
I'm currently stuck on a shared web host running FreeBSD 9.1 without
any C compilers available. I'm still able to run the latest version of
Fossil from [0] with some quirks (see bottom if you're interested in
details).
[0] http://pkg.freebsd.org/
I have created an extra CGI script to start
8 matches
Mail list logo