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,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30766 invoked from network); 15 Sep 2022 00:10:24 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 15 Sep 2022 00:10:24 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1663200624; b=KVKWR3bfq3BSXNUliyVcBmr7nS4Uwtbv6IcNS3Fip34iA2ypdRBT7s5duE2lKj6PVSb2pZ7M2s 8xh0shI4KpYJiZmuY3gpxOYrFSpFn7l4wKyhqGss900Fr7iOpJVHZcf7FqgLCvlDAIGQ2PLMqY AGcbN6rtrogLjubOpH2LjLOkH3dsqvuOhfRM44rnzaG274epxuLkjhNtFOX6sGLgpNefgCg2u2 LTBfJEsCuavmiGlDCND81gkYkQvzAPRVBwasckLBdDz1WkcOpjvcQObLTapOsg300ZGZeFIfK8 ytH8n6UAkfBHWBjdKBEdck1viKe5F4MRgD5WZKIkiaLScQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail.velocitynet.com.au) smtp.remote-ip=203.55.137.25; dmarc=none header.from=goldweb.com.au; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1663200624; bh=/IZTXsZnYSkV63uh11Mw6588Ber+OPEgt/NtQe3q8Dk=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:References:Message-ID:Content-Transfer-Encoding:Cc:Date: In-Reply-To:From:Subject:MIME-Version:Content-Type:DKIM-Signature; b=ZDkB67prW64hrjiFrfUe8nkPO6bIz0STOASlDwMvia7B/I8VhwMs2JlyMjeHAPrCn9wkKmNUiT Do9Rl2Rn1lVoqfgOhSQ6fGHFSQ17yZfBSFy4iDUNcDMbELEXWxYOVezDKJfjcbbFIZ34oYNquj u6ofqef8KNJLIXbs+Wz8SiGhaGpeXyoISUSC3/JJ3DAA5TErJz0+vmNi1ld85FtlLNYimS7NyY 6LVApXz3amjK860OHxF/fmXAjekweRV641McP0VLzBg6e/pKZL/E8mDN/nhmFFMvNgLlBYboOz YbUwf0QGlaaXD7TEPqI5el1lckc1Z3xQelJsf9gDDejU7A==; 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:To:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=/IZTXsZnYSkV63uh11Mw6588Ber+OPEgt/NtQe3q8Dk=; b=gF3hAdDI19ssM0zeGXbBPKImSt MZYPxai20SUrYr2xsuN6sDyVaMIXof94FIwBSQExphFxV7T17c3XB2QRIOwfOIG+iDT/0wXLB356L 8PSLLGW1TptIBn3LoikKMm3oG66hvYCabBhc1as32fBaT6aarhyCfOUvaB5D1v5HGZjQN2HJbkAbz CqhnaDjnfaDGTlOlqCZFQWX7unvpzWCT/P4G5Od5MGIehGSll0omJPTR/dV4YlDFLs96t+LC8iQ6b IuVARGMomJkDVgXXo+f4th1STKK5kxq/zljZU/179305ZYig6gBJvDv+ag5FCU+28r8tHYzMXjhua O3Hp+ZJA==; Received: from authenticated user by zero.zsh.org with local id 1oYcSW-000DJZ-8N; Thu, 15 Sep 2022 00:10:24 +0000 Authentication-Results: zsh.org; iprev=pass (mail.velocitynet.com.au) smtp.remote-ip=203.55.137.25; dmarc=none header.from=goldweb.com.au; arc=none Received: from mail.velocitynet.com.au ([203.55.137.25]:39905) by zero.zsh.org with esmtp id 1oYcQX-000CTo-FL; Thu, 15 Sep 2022 00:08:22 +0000 Received: from smtpclient.apple (203-214-124-209.dyn.iinet.net.au [203.214.124.209]) by mail.velocitynet.com.au (Postfix) with ESMTPA id E9A676000F; Thu, 15 Sep 2022 10:08:19 +1000 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Subject: Re: Can I test if a parameter expansion has worked From: Alex Satrapa In-Reply-To: <5dc8b935-f234-ca54-0ceb-50cb1da9bc29@rayninfo.co.uk> Date: Thu, 15 Sep 2022 10:08:19 +1000 Cc: Zsh-Users List Content-Transfer-Encoding: quoted-printable Message-Id: <48EEAAC1-C704-4CB1-8AFF-F75B96920C34@goldweb.com.au> References: <5dc8b935-f234-ca54-0ceb-50cb1da9bc29@rayninfo.co.uk> To: zzapper X-Mailer: Apple Mail (2.3696.100.31) X-Seq: 28077 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 14 Sep 2022, at 20:03, zzapper wrote: >=20 > Q1) Can I test if a parameter expansion has =E2=80=98fired=E2=80=99? Are you able to describe the scenario where parameter expansion is not = behaving as you expected? What is ZSH doing that is different to what you expected?