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,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1991 invoked from network); 9 Jan 2021 01:09:46 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 9 Jan 2021 01:09:46 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1610154586; b=vJlS24XxutLOw8MNuktro/IirI2f+dK5ulO8kzVfEMMjFjrMgQl/EwcGYR9Kj+7sGbYA4TAQQJ LjBmHiOVm8RMBoADQ+w/fvK6j/h84L8jJ1clKhnWyWtCSapp0dwTVnp0v93EQXSy1v6tfHFcrz w8b3lroY0BHxgnKTYQqkc/i9tGfc+V9zQ/ZgbfmMt4Ild+5YqfsTETNltf2GIx46NeS/K6dxmg a6+CMwdN9eX/DCaIXfJCK7VscRzO7O9+LtHXto65hVrKW6MiXBA0POC/+TGKgf35S8RCmYeR5Z B95w1OVyXRalkaKRvwXB8OZVoJy9YZyoVUXMnt6MXSoxQw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail.covisp.net) smtp.remote-ip=65.121.55.42; dmarc=none header.from=covisp.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1610154586; bh=ptudsE0ULmXYPl6dPVDuTXW6aKxAczyuXM9nD7tdHxw=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:References:Message-ID:Content-Transfer-Encoding:Date: In-Reply-To:From:Subject:Content-Type:DKIM-Signature; b=RE/PEcGKLC/BKDXRHfincwas0MR8GYhz4gjmSMxLBp6kIG1ZrmvuzdF0mZVo4uysBmvdpcI8ww XB3pG2Lt2/IrkUHkMNTYc+cJ1gkr08sE/AmzfL+mOIIb1iEVTEk2clyI4dNeYYGGEdQXO3hqEV Qx/ncm0nvoBQdPH/IsX1kEwQsLoBVoGtd/lyf/vGBxEgpIVAluY+TV3+DWAHXd+h8tPwGOoHVM K01iqLMFJDTdaQIe/6FrpQsSo/E578uA38ojLkEaqe5YxtmDodpej1e3WgmoILnyjSgF9emvTd R+fxX6FpWIe/Q180OQaE+4dUHz76xWNIOSjwIXZX+fZoEA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:To:References:Message-Id: Content-Transfer-Encoding:Date:In-Reply-To:From:Subject:Content-Type:Reply-To :Cc:MIME-Version:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=ptudsE0ULmXYPl6dPVDuTXW6aKxAczyuXM9nD7tdHxw=; b=Bn+CVrkOp4Zf3tqbGijDxo2q/L zx6p1k9H9NO/kq+HOuZg/5gjPJ20xnFNBnNIOzm/ZzHt4+/4u7yOdZTWTIHWBEArc6KPc0Rt/4iJS /3XkFGlbA4tOhk5hqzYD32HEPaxoVnsppqKV4x5yhYXoR61hRE5ZCdUkdzyOFZhBp8RnrURDUF2Sb 4sy1RKAJhsgm6JIUYeu1/e7Dg/pVzuP8vIkZg2qM69K342dY6L/Ijs0sxZGNrsG6ac7NXiMK2dj2z qIl1mw+c/6i0W7i2Jwd502IBUUGvjBA/vi+FjFCZnsTTnRVVfYe+7Bki+kXe+l2L0zb5JWuNBfxil Q0dk4ztA==; Received: from authenticated user by zero.zsh.org with local id 1ky2lG-000FFV-Cm; Sat, 09 Jan 2021 01:09:46 +0000 Authentication-Results: zsh.org; iprev=pass (mail.covisp.net) smtp.remote-ip=65.121.55.42; dmarc=none header.from=covisp.net; arc=none Received: from mail.covisp.net ([65.121.55.42]:15221) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1ky2kk-000Esj-V4; Sat, 09 Jan 2021 01:09:15 +0000 Content-Type: text/plain; charset=utf-8 Subject: Re: Parameter subsitution From: Lewis Butler In-Reply-To: <3D0FA3B2-20E8-49D1-AECD-A8003AB191DC@larryv.me> Date: Fri, 8 Jan 2021 18:09:12 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <6B1D00CF-E282-49D3-8ABE-88AB8EBED62B@covisp.net> <3D0FA3B2-20E8-49D1-AECD-A8003AB191DC@larryv.me> To: zsh-users@zsh.org X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Seq: 26360 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: Archived-At: On 08 Jan 2021, at 17:00, Lawrence Vel=C3=A1zquez wrote: >> On Jan 8, 2021, at 6:46 PM, Lewis Butler wrote: >>=20 >> Ah, yes, I can see where that would be useful. I often (used to) >> do things in bash like `^string^replace` (I think that's right) >=20 > Note that zsh recognizes ^foo^bar as well, Yep, but I stopped using it years and years ago, long before I used zsh. = Heck, before I used bash4. > and bash recognizes !?foo. bash versions greater than 3.x? But I am not using bash anywhere now other than in some shell scripts = that didn't work with zsh and I didn't take the time to figure out why >> Wonder why my zsh is not behaving as your with the recalling of l >> in the substation though. >>=20 >> $ zsh --version >> zsh 5.8 (x86_64-apple-darwin20.0) >>=20 >> Maybe something in oh-m-z? >=20 > Perhaps omz is doing its own history expansions that make using a > null pattern on your command line untenable. Probably. I'll test without oh-m-z at some point. --=20 =C9=B9=D7=9F=CA=87nq=D7=9F tel:+1.303.219.0564