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

Re: unshift





On 2024-04-01 12:41, Bart Schaefer wrote:
That is, rotate the positionals and then rotate them back again.  I
would actually usually do something like
I was thinking the same thing.  Not that it's worth the trouble, but the memory holding the value is probably not released so it's still there in the same way a deleted file is still there, just not officially recognized -- until the space is used for something else.  I just assume the shift moves a pointer.  Nevermind, all the suggestions have been more than sufficient. 



Messages sorted by: Reverse Date, Date, Thread, Author