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,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16510 invoked from network); 22 Feb 2022 13:08:34 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 22 Feb 2022 13:08:34 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1645535314; b=MnJzokTo37PJy4O6HakCP1DDhcN/iahqWLC/f1fw8ZK5TzIAZYLCydWheWiFwpKM+wYsvidL8z 6EMm/HMpwikEkldwXzTLHsMrA1vygYDyrmbEHUewrdzBfkIn6ksNddD3t90pwPO5Oix9J6gNrI OGNElh8TFASjq5U51KTi+Z3gj/ZsIjpXcPXplu/yD9Y/Cy7E0tBtQMgPmQvmKgn5zjzPegvh3E lrpm8JlXixyTaayVrptGPqnfw1EapZW/CkLLohsSKq+c3mCOxa71Om3nwUQ9hkR/7oPl4jIKPO bRiOQStkpFtGswh1eC7GaaFAEyW6T5HqplT+WpRS2ZPoEQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (p3plsmtp14-01-2.prod.phx3.secureserver.net) smtp.remote-ip=173.201.192.182; dmarc=none header.from=rayninfo.co.uk; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1645535314; bh=aDasmSjSqm2IwQzr9vWStR7yx7S1u+bktO62URQUpGc=; 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=JGCIWvpqbuWvXODzTAxfWpvvOD3sXbizE3xqI8zC3hsT1Sf1iSjoKBMUeKZ26TS0Bikfq+FqKn JqcoZNxzntii/nkwDzwlJTcrjyV2yv4L3UB/3FSz4OZDoGjNqteUvzJ4Pk2I7GQLu9SZ/MbgCD wIHRsEAGzfC882WCdQtsavaylozLsG7eJY6hhuLrUZDM51GBcmLzRtC14pztY24UI3YvKjFuCV sumriKnl+6uIqbzCcrhrho7c+M97HaXaccZi7bb31XnlKxnA50jHa53CYAquojo7ecNFj9/4fh G2mzMR4Cx+gm9x6DMKrcVvZIDPgqal3VjQC5rCpjHvEC7w==; 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=fZ1O/IUTOo6KMABsncVBA6IQnrCgKdoPYSIBClYDey8=; b=lGtOZhLokHhiapNa8bqIbsHqK+ xxsq0bVOUYFkpKdET4cStH+0MW9XZEiWhFnB57XWRVs98oF3ttna+xLr+liYB417LK/M07lhk8yyp 5BhvQn4gkeVS3xOgfqxMIffb0+8qROhhZ/5tvxMRSZK/GVAtTnLukhSN+0/ydabnyX5sboF3DP6Ya b/gzEuJJEFn84frH+MQojkAOgxGLxUAkRRZk/wD1aG1do4fYSOmGgkbkLxUR0jJ1GtTktCA3VZjtO StFECqsDt5kou7apGCdj7KRgmBo8g933nWLJpvSeRVzhJ6yQn5kZw8VNBq40Kksa1LKIpHoLe0iL1 yt1miZ0w==; Received: from authenticated user by zero.zsh.org with local id 1nMUu7-000IIq-Uz; Tue, 22 Feb 2022 13:08:31 +0000 Authentication-Results: zsh.org; iprev=pass (p3plsmtp14-01-2.prod.phx3.secureserver.net) smtp.remote-ip=173.201.192.182; dmarc=none header.from=rayninfo.co.uk; arc=none Received: from p3plsmtp14-01-2.prod.phx3.secureserver.net ([173.201.192.182]:53779 helo=p3plwbeout14-01.prod.phx3.secureserver.net) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1nMUtT-000HZv-Nt; Tue, 22 Feb 2022 13:07:54 +0000 Received: from mailex.mailcore.me ([94.136.40.145]) by :WBEOUT: with ESMTP id MUtQnQ6xt6KFbMUtRnq7l1; Tue, 22 Feb 2022 06:07:49 -0700 X-CMAE-Analysis: v=2.4 cv=BrBYfab5 c=1 sm=1 tr=0 ts=6214e025 a=7e6w4QD8YWtpVJ/7+iiidw==:117 a=GdivQuJPIIKEzoeDJFHZxw==:17 a=NyP2HGKU7SIA:10 a=IkcTkHD0fZMA:10 a=oGFeUVbbRNcA:10 a=rzObbjB_0PdC7pK9Mn0A:9 a=QEXdDO2ut3YA:10 X-SECURESERVER-ACCT: david@rayninfo.co.uk X-SID: MUtQnQ6xt6KFb Received: from [95.146.215.62] (helo=[192.168.1.231]) by smtp01.mailcore.me with esmtpa (Exim 4.94.2) (envelope-from ) id 1nMUtQ-000AeY-B6; Tue, 22 Feb 2022 13:07:48 +0000 Message-ID: <40c24ebc-56c0-a50c-eb8f-28c57cb80c04@rayninfo.co.uk> Date: Tue, 22 Feb 2022 13:07:47 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: Using history / fc for case-insensitive pattern matching Content-Language: en-US To: Peter Stephenson , zsh-users@zsh.org References: <894112583.938338.1645522071761@mail2.virginmedia.com> <90c8c271-6ac0-2a4a-e19a-9f179fe1f399@rayninfo.co.uk> <1117602475.939955.1645525125795@mail2.virginmedia.com> From: zzapper In-Reply-To: <1117602475.939955.1645525125795@mail2.virginmedia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailcore-Auth: 8308408 X-Mailcore-Domain: 840527 X-123-reg-Authenticated: david@rayninfo.co.uk X-Originating-IP: 95.146.215.62 X-CMAE-Envelope: MS4xfH2D2RP9XbLc69kvAzHsYWoMxKatyQk7VXzQH/GEOjQFDO81M1VCXG4EnYzEFuT5rV9PW76LMo8iH6MGga3jsiwCRj9lWsBBe3AI7IIkj+8ESzZhCo4Z uju7+1Mhbw2OfnFyHrNLtQUWcZG1fAoGHs183AegUQz1kXHBWPiAswqPM7Z9Cym3eMWZb7N0uZWN7A== X-Seq: 27537 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 22/02/2022 10:18, Peter Stephenson wrote: >> To answer my own question: with fc any number range eg first last >> should/must be the last > Would this be a little clearer? History (pun intended) shows that > making the docs more verbose doesn't mean people necessarily find > them clearer, but I think they are particularly terse at this point. > > pws Peter you made me laugh out loud when you used the word 'terse' I often find I understand documentation AFTER I have actually found out how to do something LOL (especially assembling flat-pack furniture). But as you say there is trade-off between verbosity which people may not read and simplicity. In this case however had I really invested in understanding the existing fc man page I would spared myself considerable grief. Isn't there an adage something like '6 hours of coding and testing saves 1 hour of studying the documentation'? zzapper