zsh-users
 help / color / mirror / code / Atom feed
* Auto-increment
@ 2018-01-19  5:40 Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2018-01-19  5:40 UTC (permalink / raw)
  To: Zsh Users

From: Daniel Shahaf <d.s@daniel.shahaf.name>
>
> 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?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-19  5:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-19  5:40 Auto-increment Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).