Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: what can be global aliases used for?
- X-seq: zsh-workers 51454
- From: Lawrence Velázquez <larryv@xxxxxxx>
- To: "Roman Perepelitsa" <roman.perepelitsa@xxxxxxxxx>
- Cc: zsh-workers@xxxxxxx
- Subject: Re: what can be global aliases used for?
- Date: Fri, 17 Feb 2023 18:27:50 -0500
- Archived-at: <https://zsh.org/workers/51454>
- Feedback-id: iaa214773:Fastmail
- In-reply-to: <CAN=4vMrmBKa0CmcM_=6dbdx_dS_3KFZgmp=zCSKA8=67Ks+uRA@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAKc7PVA0X1786JP7g69aDP8eL+1oAZpipVC-4BNm1KV=OPxe7A@mail.gmail.com> <CAKc7PVAX3oJdrJDiqjxsLMH5+DaYt09dwzqA01ZBEY3rWwd_5A@mail.gmail.com> <a70309b8-eb71-4e38-ad20-12bbcd4c87c3@app.fastmail.com> <CAN=4vMrmBKa0CmcM_=6dbdx_dS_3KFZgmp=zCSKA8=67Ks+uRA@mail.gmail.com>
On Fri, Feb 17, 2023, at 4:19 PM, Roman Perepelitsa wrote:
> On Fri, Feb 17, 2023 at 10:13 PM Lawrence Velázquez <larryv@xxxxxxx> wrote:
>>
>> 1) Autoconf uses ${1+"$@"} instead of "$@" to work around a bug
>> in pre-SVR3 Bourne shells.
>
> Fascinating.
>
> This made me Google SVR3. That's System V, Release 3, right? 1987.
> Before the first release of bash and zsh.
That's right! Absolutely ancient, but -- to be fair -- downright
modern compared to its ancestors [1]. Sensible "$@" [2]? Functions
that don't trash the global positional parameters [3]? Sign me up.
[1]: https://www.in-ulm.de/~mascheck/bourne/
[2]: https://www.in-ulm.de/~mascheck/various/bourne_args/
[3]: https://www.in-ulm.de/~mascheck/bourne/function_parameters.html
--
vq
Messages sorted by:
Reverse Date,
Date,
Thread,
Author