[Top][All Lists]

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

Re: [Nmh-workers] Changes to flist.man

From: Larry Hynes
Subject: Re: [Nmh-workers] Changes to flist.man
Date: Sun, 18 Dec 2016 14:30:04 +0000 (UTC)
User-agent: slrn/1.0.3 (Darwin)

On 2016-12-18, Ralph Corderoy <address@hidden> wrote:
>> I'm afraid I don't follow you. Can you walk me through this, please?

> When a program is run it is given an "argument vector", a list of
> strings given when it was execve(2)'d.  The first of these is
> conventionally taken as the name of the program.  It doesn't have to
> match the name of the executable that was passed seperately to execve().

> Seperately, it's not uncommon for the same executable to exist under
> more than one name, e.g. with hard links, and alter its behaviour
> depending which was used, e.g. vi(1) or view(1).

> You can test this for yourself.  Copy flist to /tmp/turnip.  Hard link
> it with ln to turnips.  Run each.  You should see the test for the name
> ending in "s" has effect.

Great, thanks Ralph.

reply via email to

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