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,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13990 invoked from network); 29 Jan 2021 03:22:34 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 29 Jan 2021 03:22:34 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1611890554; b=wxWhlgeyppUfYP3hvDl7+Dpl2xS/UvTNjAm/zCgDwdD5UcB6P0z22uWBUTiYdy7Jjq01jxCluS FMJpz/iZgAxoI6Wk8uPPSbeORosy+Q6qa3ilOEIHc33jO0Y08g55dWVQHbke96J3vpJOpH33Yo jCxN9fj7T6uJQxEqeGkUiH+BMmv/0hNW+rh0vl1p1VymiCHpdNLAtLu/kv+E8sgOR1jRdIc3z4 mvZvnA5pE7S0UohxGx7MwEkfsyvUHPZw5pP7Doadv054LA2odvKjfeY8/UkXACFBO0uHPVtKxc 9MpyM5ACmUacMRRV+U6Si9hxxj5ucUJIY66QJceVAd/T3Q==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1611890554; bh=831/Yl297rgU7468t2VdWLICYWxvnhBGdpU79gT+/bc=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:DKIM-Signature; b=1fe8sAcwSeQi6fkWn3MFCNOe7XJTW75MjBcBaaPdOC6jxHI11oR55jOW2LjpzqFyaBfy+Wb2yH kgVsFf0H/mTAip/NY+ZGmGbvU4aHt6r21e+aCL7dROt1Epf1U/Wi8PTkkcXPaX06N7X+iInzww 12NsmQ8GCRfGc+ljzrLkYEGtayS4vFctFlGApjG41p96NkTXxycCFUekD/IUbWrocP5IB9QnEu 7+a+bnOSEKsZWV09PoCRw2CW1vlVEJ552eUhFtWjrevqw8AOiwxTpUiYjhuN3JgMHCEwl0ARwY 92mtemInYKwD0q4qKwrWSmNxE1qwXcLAlVIMoVnMhgZpRw==; 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:Content-transfer-encoding: Content-type:In-reply-to:MIME-version:Date:Message-id:From:References:To: Subject:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=y7j0xzBEFLQdu5F2CxBUru4LxCsntRuqkUUl3QLRl4o=; b=mypbnXQ2W9Zv8E/Gci25ptvyBc J8nTGXwCP8brBnxzGVYQNK8ubHVfBWLIO6FYzIF+8zC238hokzQuPyL5SBnMP2O7EGUrjY1yPCgW0 XUOJhL90hVeECCQe1Mj3BNC5tOw5+u+Z2mwlgtPgAW6U7sAp+GDgY5juMg0XdJcPrpt4FxcVy5Za8 5hOA9QKDQJOwg8ADq9YYSfEU7suO675TriSc0FAUPYPlnLPdb0V/cygagIMK/Ewe7VkZSoXL097/V /EWKi3ccopGiI+TovaYs1YcHDjy92XDYf8o8aAgOJu3lsoJX0kPImqTTZtImhmp7iEdRMDCQG4oaZ PENAEDVg==; Received: from authenticated user by zero.zsh.org with local id 1l5KMf-0009Gt-Pm; Fri, 29 Jan 2021 03:22:29 +0000 Authentication-Results: zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none Received: from mta04.eastlink.ca ([24.224.136.10]:60192) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1l5KM9-0008sn-3w; Fri, 29 Jan 2021 03:21:57 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta04.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0QNO0077BD6C96V1@mta04.eastlink.ca> for zsh-users@zsh.org; Thu, 28 Jan 2021 23:21:55 -0400 (AST) Received: from [192.168.0.3] ([24.207.90.194]) by Eastlink with ESMTP id 5KM6l0O4zsAqK5KM7lSzaf; Thu, 28 Jan 2021 23:21:55 -0400 X-Authority-Analysis: v=2.4 cv=W6f96Tak c=1 sm=1 tr=0 ts=60137f53 a=zv49KfEsxEDzuN5AGO7r0Q==:117 a=zv49KfEsxEDzuN5AGO7r0Q==:17 a=IkcTkHD0fZMA:10 a=A6RVn-rgLM2yeKDf--4A:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedugdehgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeekvdeuuefffefhvdeuieetffdvtddvjeegueejkeeiudehieetieehgeetvdfhfeenucfkphepvdegrddvtdejrdeltddrudelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrledtrdduleegpdhhvghloheplgduledvrdduieekrddtrdefngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-IP-NOAUTH: 24.207.90.194 Subject: Re: detect pipe To: zsh-users@zsh.org References: <1b788ada-9c70-78e5-cc2c-1943000f2994@eastlink.ca> <20210128100858.GA578422@zira.vinc17.org> <20210128102816.GB578422@zira.vinc17.org> <560cef52-aee7-352a-2ba3-25826fe54136@eastlink.ca> <14ce37b2-35ca-6002-474a-7de5d6626a66@eastlink.ca> From: Ray Andrews Message-id: <05c3d2ba-6a00-9480-e2a8-685432e2442c@eastlink.ca> Date: Thu, 28 Jan 2021 19:21:54 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-version: 1.0 In-reply-to: Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 8bit Content-language: en-US X-Seq: 26433 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 2021-01-28 6:50 p.m., Bart Schaefer wrote: > NOW the test2 alias exists, so if I repeat that: > So the FIRST time you tried ". test; ...", if you DID NOT get an > error, there was some previous thing named "test2" lying around, which > probably behaved differently. > > You can't define an alias and use it both in the same single line command. That's what I was trying to remember -- that sort of gotcha.  Yup, the define and use thing. Still it is all logical -- previous editions of the alias still lurking around and only next time being changed so I'm lead down the garden path.  I'll not forget that again.  Sorry to waste everyone's time.