Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Auto-increment
- X-seq: zsh-users 23096
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Auto-increment
- Date: Thu, 18 Jan 2018 21:40:10 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=AleFODJ8qJJgWQj1N7sn09ezmCl5Mrj55QDfam3kpJM=; b=coEvMAgla4U73W2xq7JTwnJKYuNJMptViL1iF4lktQ8pJbxfXEeXF/+cxL4fstGYoc F4yVxp8gzoWNIlMs3QyNGyuXRPkXH4veOZsmvWalpdYrIPiJgas46GaxrU+x1CCu6zjM KdyfF1U1BFRXnsUVspplptgbXnX/vXy1H8i0FtRo9sdSSbLU92h/VsrBtXfl14CyGeAV /Rnq4/idifPiQxqoWDhdmnrIY3TVfG4Fk4rlCLxRY53qwLdvV88pructIApwtlp7uizi GAKUS442s/VOt9Kof5L168z/b1qZFAcrj1S1YgScg+BVfPG9wgq9JaNTdVxWX1Qjk1gJ ZFpw==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
>
> P.P.S. I wasn't going to commit the above, and it has some quirks (for
> example, evaluating ${+autoincrement} increments the parameter), but if
> there's interest let me know.
Is there a reason using $[a++] or $[++a] isn't good enough?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author