Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Auto-increment



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