Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
FU: RE: Re: ls completion
- X-seq: zsh-users 29995
- From: zeurkous@xxxxxxxxxxxxxxx
- To: Thomas Lauer <thomas.lauer@xxxxxxxxxx>, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Subject: FU: RE: Re: ls completion
- Date: Tue, 04 Jun 2024 14:09:18 +0000 (UTC)
- Archived-at: <https://zsh.org/users/29995>
- In-followup-to: <thinkcrap!zeurkous!1717507173.27562@uucp.>
- List-id: <zsh-users.zsh.org>
- References: <jc8h5jhhjg7qdev26m56oi4g58m09avpkf@tlc.com> <CAH+w=7aVLFjFoOB5sp=51o562OHadD7D2uHL2j0b63D3=mTvaw@mail.gmail.com> <vt1u5jhgh1ipptvq79r6qp5cqnnnpo49u5@tlc.com> <thinkcrap!zeurkous!1717507173.27562@uucp.>
On Tue, 04 Jun 2024 13:19:35 +0000 (UTC), zeurkous@xxxxxxxxxxxxxxx wrote:
> There's also the related problem of there being no record, upon exec(3)
> (or, rather, execve(2)), of where in the PATH array the executable was
> encountered, so that wrapper programs would have to pull all kinds of
> tricks to properly invoke the underlying program (to prevent the
> wrapper script from executing itself again instead); understandably, at
> that point, coders usually bail out and include the full path to the
> intended program.
Menow realizes me's been slightly unclear here. Just so there's no
confusion: this applies when the wrapper program is *not* named
differently from the wrapped-around program. (Sometimes, perhaps often,
an identical name is desirable or even required.)
--zeurkous.
--
Friggin' Machines!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author