From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13841 invoked from network); 19 Jan 2023 17:50:12 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 19 Jan 2023 17:50:12 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1674150612; b=rOrbwjj1NILgslLQLI9aQsEuNFoiw1OxGXhCXGA9iycQY80iteK4zDaUmsIHrhMwYVoq8anX6t RWFDKAyB0yKrO+wORwIBrs6aSXxzUPF4zqUxk7HPjny3ZFMFOyn0ituLJpo7v6us7uCB8HYFPN C4Kw6b/T4AeTDGCLkhFtkKd7KiiX87jLbih/70LdXAeO1WawHmhETk64slHOzDgJuwv9Md549V ZUSzK1/e3OVyTA5bor/t0CHs0hThPl/5kHOK0rFTe2M33Og/hVByoydNa6Yxnnzy6qfgy9vRQq X75kU+I5r6iYtHTDVkiZPuQpkUb7tnHpnhhG81+qMxD6ew==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; 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=1674150612; bh=i6I4QLi5lfHJfyc3IptWYk0gdkkxAK9XeQ17et5pcVk=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID:DKIM-Signature; b=AHs8zQqN9trkMnWmKhYPQUsefVvnrmLGjfVRB3DZbU8sm183TbHpskbZJgmsTgBnNKOGCa+znS X5pbmLpw/3fr+nHnemPtckP3njYRVoeK2XyUEjZ/J4NYerVAAGvks8xHNvh6gmqbeVUTWpmRfb F1oQMlEEbO/X38zSzpYLcNWTyVGIutywD0ucPDrhcl4VsdmEYalthFv/IbmCPmamlM33rF5fYJ 0+0VYDm6O/Kxg+b1am67AO0iTcXpqAFGVCi4z/krUP8D9jKGrMydxYOjdVK6FkBeMP+FBT/6G2 Q2CPU41rs8Y2q8UUCAHCsh2orXjjsHrx5Z0VZ+n4NtaIdQ==; 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:Content-transfer-encoding: Content-type:In-reply-to:From:References:To:Subject:MIME-version:Date: Message-id:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=aZtDn1DNMX+jY3o/CK2J4xj2mCIfTEzIxjrLOQNl0rU=; b=ALHun7MOYUe3aoYapTne8PO2Ud Vv+JE2Qi8WgMehahIIJM8IxgHCkf3C62uIIvpngZVLMRS9qIMzdjc8Orm4u/mY7oB0x4qiYfkiyfX mmTRuC+wWIZnx2hbF7QXEsyJ+Ivyo4sjOIYlkUqhsrzkKGj4jUQjW9nL5/ZhevHvmtz/byZ9UkQAk Oy87CRUt7hTKEIc2rYFCWQC7mqvFHBmM43bl49CqHe/90atpoJTbbvosARtkLc+SBwpLP6Bwe405H VR4bC7h3A0lAaIUpTq7aYyWLL6YDA4fp+kv23BSdVOr1voTXxRqFDG4j341hsC7EpE9STm2L8muGl bHnhqNMQ==; Received: by zero.zsh.org with local id 1pIZ3D-000Gci-Om; Thu, 19 Jan 2023 17:50:12 +0000 Authentication-Results: zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none Received: from mta02.eastlink.ca ([24.224.136.13]:38932) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1pIZ2e-000Fwi-7v; Thu, 19 Jan 2023 17:49:36 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta02.eastlink.ca ([24.224.136.13]) with ESMTPS id <0ROQ007FYSDL0AT0@mta02.eastlink.ca> for zsh-users@zsh.org; Thu, 19 Jan 2023 13:49:34 -0400 (AST) Received: from [192.168.0.4] (host-24-207-18-108.public.eastlink.ca [24.207.18.108]) by csp02.eastlink.ca ([71.7.199.167]) with ESMTPSA id IZ2cpoi0bjOrIIZ2cpJQ9j (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Thu, 19 Jan 2023 13:49:34 -0400 X-Authority-Analysis: v=2.4 cv=Kv6Lm0aN c=1 sm=1 tr=0 ts=63c982ae a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=E6Gxb6iOetSr5K3fDpsA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddutddguddtjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeeitdejffevgfdtheeggfetkeeugeegieetuddtvddvudetteffvdevlefgueekudenucfkphepvdegrddvtdejrddukedruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudekrddutdekpdhhvghloheplgduledvrdduieekrddtrdegngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <98e30985-3f37-9158-0918-910f1382f915@eastlink.ca> Date: Thu, 19 Jan 2023 09:49:33 -0800 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: repeat count? To: zsh-users@zsh.org References: Content-language: en-US From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28676 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: On 2023-01-19 08:37, Daniel Shahaf wrote: > - Or perhaps the arithmetic for() is good enough for now and we don't > need this syntactic sugar at all. > Just a comment from the peanut gallery: I was thinking about that issue and the question arose in my head whether or not something that is so easy to do manually should be hard coded even in the best of all possible worlds.  Bigger code, new hardcoded variable, minute but still possible bug of some sort, an extra microsecond to compile and run, slightly bigger doc needed.  Small issues, but small issues add up over time, and since there is no *real* problem, why bother?  Contrast ... dunno ... say the '-U' option with arrays.  When I first discovered that I laughed like a loonie, it was so damned useful -- worth whatever weight it added to the shell.  Featuritis can add entropy rather than reduce it. Little things can clutter more than they help. My 2 cents.