Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: What is the '+' option of the 'typeset' builtin supposed to do?
- X-seq: zsh-workers 55154
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: What is the '+' option of the 'typeset' builtin supposed to do?
- Date: Sun, 13 Sep 2026 14:28:53 -0700
- Arc-authentication-results: i=1; mx.google.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=DpeRNqYm0a/zvYw6lkAtxSf5Vm0+ulavsfzQbZr73WE=; fh=BgAYDYpL6Ne/A5nWEMVJiHiBtrz8Imz3uf26RDwgQX4=; b=ZjDM7Lfngp4oAkoqJATgweax+/la3Kg45ndHl6S3dq9X2McY198Hlg/NBBFQeuvuU2 CoJTAnrzFE8B5t4dPSBRYShLtqFtx5yIu8yEQIIC0PYhmsJ2LkS/nbXt+nVzMokuIX4v lXj4YLuO0LOQCJkr+t999BWyTecLGvLhppfn0o0qJRY6THkbhppzD4e/TZqa1ggfGz7q T3m5RxVXGtZYFst1zUaqm/8P3XCJKJrqdG7mCFa5mKG3y7gLrdMrLDXPMLeXvg/a727p SNUbaqQAXm4gk9Jk0ljBnUTkFPeK8zBcv+1SG4UTpXR2DptYZ9+dcnkvB+V4VlM5+Lke qR9A==; darn=zsh.org
- Arc-seal: i=1; a=rsa-sha256; t=1789334945; cv=none; d=google.com; s=arc-20260327; b=YWdr8Ou61Nlids+iyO1/B9Cx5kVlksvK5jFRiiA6jV/rreCv1HSBW99TN5voChOu8R nIf1uIYfbN2xxIigcHh9MZj5n7AOhzBHkOIMjwNSMFe+zn0lugRsdg3tLKg6OsdoSh3L knDBA4SKKpCulexea0O0hmsgpxWNxAZMXbzijDjRRqGrPYAW/m5e3ev18y0Oc0sp6zVB hhi64ZnFm7Cpqw1EbWM6NDEkrMfPR5ddbyopoGryv4IWFoFnZI2SIhOS0hk3WbGE1bvZ Z7FIpmvB8PQ3/hoowbJtmtQcp2X8f4paGTkd4OCyzU/GFTN4L9gpoQd6QJPT8WB+KJvC 20Ow==
- Archived-at: <https://zsh.org/workers/55154>
- In-reply-to: <CAH+w=7ZS_N-hMHu3LY6Rj2uXd3biEKTP8maWi9vnjAMTV31wNg@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAGdYchuGX6i8qWbnbvBZrvGif6qATn1rxvLoUM_13b5JywmMww@mail.gmail.com> <CAH+w=7ZS_N-hMHu3LY6Rj2uXd3biEKTP8maWi9vnjAMTV31wNg@mail.gmail.com>
On Sun, Sep 13, 2026 at 2:22 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> > 'typeset -i + str int' prints nothing but turns the listed parameters into integers => KO
> > Why does that change the type of the parameters?
One other thing to note here is that using '+' standalone when it is
not the only and final argument is an "all bets are off" situation.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author