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 23749 invoked from network); 22 Feb 2022 09:49:07 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 22 Feb 2022 09:49:07 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1645523347; b=sb4ktoSXuR5AxvIPoAISdhPJ+R7YrJ49OlXAN7zcm0WLOD30gcHnqpQff8P9/4vil8HU6q+pjt FoFbYc5/XLrI4Yp3qTX9yVrn4l4kkJ4JN/GPogv39K2UCtx3PRSgY8jtkmGyAdI287JIG5DTTR HGDBs3JjIxSWvOty9MlnXh5YxannIEOdiH30O+86r79xBi+ecenrRg95Rn7SssUV4mRkoI5nb3 lRcf70x/87i+meqNLgX5Ogr/SA07x8qa1PtDt4LWTBWVlvkBi5v0GJPnoEa0PcjsHnxvYsMbmp Ha9NVhTl84CuZvemaXiCPuQyydpXcta0VOnNYbZKYfy66Q==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (p3plsmtp14-03-2.prod.phx3.secureserver.net) smtp.remote-ip=173.201.192.186; 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=1645523347; bh=DZs2iWQ/wFR8gCnadiZvbkW2AjdXB1qD6P4Hm6fe7vs=; 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=jcHczxVTjWBO/HTkfWDXEnqAP3A+WBvw70zhrCXutCJSGHAyr5+UBIUr8WM07PSCgK2BPS3QFq G48wp8IvkZlIynosM+hNc+FaOLvpnqlB/6yHjZP/FeSOX7JLubb8R/A8fP1ngd26lai00nThfX ZTL/zpO1zI41L2Hze1SMg6tfiZ+NkXl1ZszgWRrESQ9GP00HDOypk+ovtDw4+kDRZd4Xo3OFQ5 E6M+bVPmrE9/B4e3G1k9zlabVONDD3lo1OgHr9rq7wAi4S7fij8i6RZZV1hlQ8d4uOTSkp0287 Ak8dUi6QZSExavFy/vg5XGQ0RKa6+E50g0DIaSPkWXnsAg==; 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=zhRCA2zmI/Kw6+zm1uee5lySAz3ucx1UCxdktu3Jbpo=; b=scsX7UV2EJxtIGDLmdtE4gGZzp m2DDB5HZ8tNUYbkxThNLJutJlho3Ma9NiKUY8t7oc+1VE2EvnLGUdi3Uk1KXqW0DnbA+gE+4pJKPX cGtKDk2OpHISMcsM6eB/zXyRvboBp76c0SKVmPMnZe9fo4J9VPdVdxkJg8yZgW3HhUBebykDXp34M 4nDfIhv08o09S1WN/VKPrEVxkP90wuAn0PeEfwTVS69q8w0ogVbZENCgrV+GKFOtIEMmIc1lMZpbo qZbn1XMlKj0HCNlu3sOE6zTl+HO8GAJKQuoSwUHTNJ2srghhG5lZrlLo7mjb10yLJxM6zxjHSLQiI AAQbeKhQ==; Received: from authenticated user by zero.zsh.org with local id 1nMRn9-000BYQ-Cr; Tue, 22 Feb 2022 09:49:07 +0000 Authentication-Results: zsh.org; iprev=pass (p3plsmtp14-03-2.prod.phx3.secureserver.net) smtp.remote-ip=173.201.192.186; dmarc=none header.from=rayninfo.co.uk; arc=none Received: from p3plsmtp14-03-2.prod.phx3.secureserver.net ([173.201.192.186]:38188 helo=p3plwbeout14-03.prod.phx3.secureserver.net) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1nMRlF-000AmW-Df; Tue, 22 Feb 2022 09:47:10 +0000 Received: from mailex.mailcore.me ([94.136.40.145]) by :WBEOUT: with ESMTP id MRlCnGoI8aiS1MRlDnfyvT; Tue, 22 Feb 2022 02:47:07 -0700 X-CMAE-Analysis: v=2.4 cv=S5IcfKgP c=1 sm=1 tr=0 ts=6214b11b a=7e6w4QD8YWtpVJ/7+iiidw==:117 a=GdivQuJPIIKEzoeDJFHZxw==:17 a=NyP2HGKU7SIA:10 a=IkcTkHD0fZMA:10 a=oGFeUVbbRNcA:10 a=_UAZFHARDZloF4nXvLoA:9 a=QEXdDO2ut3YA:10 X-SECURESERVER-ACCT: david@rayninfo.co.uk X-SID: MRlCnGoI8aiS1 Received: from [95.146.215.62] (helo=[192.168.1.231]) by smtp03.mailcore.me with esmtpa (Exim 4.94.2) (envelope-from ) id 1nMRlC-00054j-9u for zsh-users@zsh.org; Tue, 22 Feb 2022 09:47:06 +0000 Message-ID: Date: Tue, 22 Feb 2022 09:47:05 +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: zsh-users@zsh.org References: <894112583.938338.1645522071761@mail2.virginmedia.com> <90c8c271-6ac0-2a4a-e19a-9f179fe1f399@rayninfo.co.uk> From: zzapper In-Reply-To: <90c8c271-6ac0-2a4a-e19a-9f179fe1f399@rayninfo.co.uk> 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: MS4xfFZtlBR/VVpeESm57Lr+y/stJYh8l0aVoWiYcnpFg7n9fwNdhOGXTMksQNXiHN+amWyGo0w0XSL6InCaB5+FDkixsFKdLsyG9umxpVmmTdvsKox5XP/u o28Jve2EfsI5ObUjj3BK73PTt1XsnDUMaHxVdFyYBSfhFNw+0BE547kVgLEi6BiDrFCgdbwPArAkZQ== X-Seq: 27535 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: # pws: yes thanks the following works > > fc -l -m '(#i)*Mortg*' 1 > > > (should this be documented?) > > zzapper > > To answer my own question: with fc any number range eg first last should/must be the last Best regards David Rayner