From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id 9EA6021EB8 for ; Tue, 2 Apr 2024 00:54:35 +0200 (CEST) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1712012075; b=M8GSLkxdCXobgIT0SgOTNC4BBUvtwO8R09y/ekZgdfW0yERIpIX/1wabzm8bvUsqkGkqlZLrzw h5sZpwSHMeGWKU9zRToeR6BIyTM98rAS2bH4dIAoDuk7S7yYCCwj3IUwzy9iSJRhiv9X4Ni2El H3n7XOGTb78JlStaiXrPBM6n82q/KeBl+nUXmH7B21QpD9ilR++412sPlyRNpLBfjsK09V/MiF 7jSfwIRzGbKAYAOnOCnBSvZKJiMBLrhbzD6f81Z6VJi/EEqpL0R8qWYqcS9N851h3utQJw7XBN Q5pBMbtYQ+ZwpEu43drfQiVDAbG7YFSU+lsYkR2S4mVhxg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1712012075; bh=qBTdmPpDwSNIeBGyBDnOPHkEQlCgN6EIJrnaixwBtYw=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Content-Type:DKIM-Signature; b=pVWCqKh+Moo4CIZdeeo68mJLYqJfaYNjbhmyOe/k8D0qX5m0EZyLoCzJSpPdBnF+TnVexv9/bp ijZjgnT/oI7rZFVziiWmVas04sjiOwq4iusKxtF8LAEWLz/H7d6Mm/hrMBqCb7l7m4qbwzy6Mx r07HHuFCB+wkTDMxJBTUiuMcqBt3SGa+GDTtY0nZvKlY8qjhWRIZaSxwd0m6ik5/PlAOGzy4ah VnrUDmPj1MmZY2xebVt5nR6JMAQzBza+aJ8w9fKl6FbCOfA78SQia3WJIIYVkUxXF6XD+WvJFC jl06/ZacxtentoNUAl2vRDWYJVA3hN4XSrneJRpTjefBBg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-reply-to:From:References:To: Subject:MIME-version:Date:Message-id:Content-type:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=rbWsrUxmrwjIf8FnnbkYKPhjOSswdm3QYaoGLsWjyE4=; b=bY7elI2lzInW1NXLpvuzJhah7/ 1SeHh+bwe4b/B5QpuznnIm0fURPSM2f379xZLPX8QDR3H+zC3Blgp9BwJpDLdHn+ROmSlnEN4IQxb 1XQhgRnEpodMyoQ3nYUIsRgnVwITtqB5ubR/8lQkVXkGcFgCKSa2M+XXeamACkit6XQoe8wbnk0OL zvBluWcu9jjH4LyCaQvdfEZZuQnkVktfZYtDIQuT2bkI8Quf/GiSNQZeIEFKbDLbPkLjisrmpVhU1 8Pk/y6HlmoUVIqMs+JqJnfeAx69fYXOCeN3lK3r4khf5KqMAO9EMScuXfHIn3bfkzaDv3/HCZLRZu /ITccL9g==; Received: by zero.zsh.org with local id 1rrQXx-00065K-Qt; Mon, 01 Apr 2024 22:54:33 +0000 Authentication-Results: zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none Received: from mta03.eastlink.ca ([24.224.136.9]:46861) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1rrQXI-0005Nf-Jn; Mon, 01 Apr 2024 22:53:54 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta03.eastlink.ca ([24.224.136.9]) with ESMTPS id <0SBA015D2CSVKEW0@mta03.eastlink.ca> for zsh-users@zsh.org; Mon, 01 Apr 2024 19:52:02 -0300 (ADT) Received: from [192.168.0.11] (host-24-207-19-13.public.eastlink.ca [24.207.19.13]) by csp02.eastlink.ca ([71.7.199.167]) with ESMTPSA id rQVVrpLK75TsrrQVWr7BBO (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Mon, 01 Apr 2024 19:52:02 -0300 X-Authority-Analysis: v=2.4 cv=deIj3mXe c=1 sm=1 tr=0 ts=660b3a92 a=e7T7DzMKK1R988ZCg0wLyw==:117 a=e7T7DzMKK1R988ZCg0wLyw==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=hXtAcY4zB01-gkuxQLIA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=pGLkceISAAAA:8 a=_6Gl6wFcards5gU6dvYA:9 a=_W_S_7VecoQA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudefuddgudegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurheptgfkffggfgfuvfhfhfgjsegrtderredtvdejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpefhteethfevgeeuvdelgefgvdevudefueduffdvgfelvddvgfdtieegueeuleeifeenucfkphepvdegrddvtdejrdduledrudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrdduledrudefpdhhvghloheplgduledvrdduieekrddtrdduudgnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Content-type: multipart/alternative; boundary="------------Ur8T4ZG3ACwQnth500bm0QaP" Message-id: Date: Mon, 1 Apr 2024 15:52:00 -0700 MIME-version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: unshift To: zsh-users@zsh.org References: <4de03717-ebcb-4b85-bc1b-14be0d2cc8c3@eastlink.ca> Content-language: en-US From: Ray Andrews In-reply-to: X-Seq: 29758 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: This is a multi-part message in MIME format. --------------Ur8T4ZG3ACwQnth500bm0QaP Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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. --------------Ur8T4ZG3ACwQnth500bm0QaP Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

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. 

--------------Ur8T4ZG3ACwQnth500bm0QaP--