Zsh Mailing List Archive
Messages sorted by:
Reverse Date
,
Date
,
Thread
,
Author
Re: for loop 'bad math expression'
X-seq
: zsh-users 29633
From
: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
To
: zsh-users@xxxxxxx
Subject
: Re: for loop 'bad math expression'
Date
: Sun, 4 Feb 2024 13:23:45 -0800
Archived-at
: <https://zsh.org/users/29633>
In-reply-to
: <CAH+w=7boL_aE9NDTqJALaJLSGQQWOTbC9Ws+xGi9quo5rmZKaQ@mail.gmail.com>
List-id
: <zsh-users.zsh.org>
References
: <
4c14e191-0605-4492-9f67-9a5b35ef132b@eastlink.ca
> <
4da0eeb4-4589-4c5d-9b89-a1a22209e18e@eastlink.ca
> <CAH+w=7an4ZbDfNxnNkOw-DE07jqarcLXdGg1Tk=uDi_0ZHnY0Q@mail.gmail.com> <CAH+w=7Y6iYdLw-BKepmQVbEKj9d_VLXkq4zWugGpEj1siCt9RA@mail.gmail.com> <
7ccf5b82-a37d-47b5-a700-fb1096ab495c@eastlink.ca
> <
0875ffd7-e3a4-4ddc-9c4b-47e2c593ea4c@eastlink.ca
> <CAH+w=7aznm0sBRqz4=Mo4q86oMzKrg0ktSEtFBGQupiWSV7WEg@mail.gmail.com> <
f228c732-d237-4597-b260-b28da72fd84b@eastlink.ca
> <
ecf249c0-3787-463d-bc30-1440fc6b1510@app.fastmail.com
> <
ec856c16-59c3-4967-b309-cb0da750354b@eastlink.ca
> <
1745fff9-822c-499f-b60e-7248e95438c5@app.fastmail.com
> <CAH+w=7boL_aE9NDTqJALaJLSGQQWOTbC9Ws+xGi9quo5rmZKaQ@mail.gmail.com>
On Sun, Feb 4, 2024 at 1:09 PM Bart Schaefer <
schaefer@xxxxxxxxxxxxxxxx
> wrote:
Historically, I expect this results from lack in the base "sh" of
user-defined math functions.
Also perhaps to replicate the behavior of /bin/expr, though that's iffy-er.
References
:
for loop 'bad math expression'
From:
Ray Andrews
Re: for loop 'bad math expression'
From:
Ray Andrews
Re: for loop 'bad math expression'
From:
Bart Schaefer
Re: for loop 'bad math expression'
From:
Bart Schaefer
Re: for loop 'bad math expression'
From:
Ray Andrews
Re: for loop 'bad math expression'
From:
Ray Andrews
Re: for loop 'bad math expression'
From:
Bart Schaefer
Re: for loop 'bad math expression'
From:
Ray Andrews
Re: for loop 'bad math expression'
From:
Lawrence Velázquez
Re: for loop 'bad math expression'
From:
Ray Andrews
Re: for loop 'bad math expression'
From:
Lawrence Velázquez
Re: for loop 'bad math expression'
From:
Bart Schaefer
Messages sorted by:
Reverse Date
,
Date
,
Thread
,
Author