From: lucio@proxima.alt.za
To: 9fans@9fans.net
Subject: Re: [9fans] #! scripts
Date: Thu, 9 Apr 2009 20:56:52 +0200 [thread overview]
Message-ID: <411d773bda22cda6fe293b34eb13376c@proxima.alt.za> (raw)
In-Reply-To: <6af7d252267a104b4669cb592cf72bf2@hamnavoe.com>
> See exec(2):
> For a file beginning #!, the arguments passed to the program
> (/bin/rc in the example above) will be the name of the file
> being executed, any arguments on the #! line, the name of
> the file again, and finally the second and subsequent argu-
> ments given to the original exec call. The result honors
> the two conventions of a program accepting as argument a
> file to be interpreted and argv[0] naming the file being
> executed.
I always seem to expect a subtly different behaviour from what I get.
In this case, I note now that NetBSD behaves exactly the same, but I
only considered trying it out after you've made me read that passage
for the sixteenth time. I guess I always read in it what I was hoping
to find.
I guess that means I have nothing to fix. Not only, but any
extensions I was hoping for are shown to be utterly impractical :-(
Let me go back to ELF...
++L
next prev parent reply other threads:[~2009-04-09 18:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-09 18:28 lucio
2009-04-09 18:40 ` Richard Miller
2009-04-09 18:56 ` lucio [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-02-09 13:33 [9fans] scripts Steve Simon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=411d773bda22cda6fe293b34eb13376c@proxima.alt.za \
--to=lucio@proxima.alt.za \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).