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 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21291 invoked from network); 31 Oct 2022 14:06:56 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 31 Oct 2022 14:06:56 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1667225216; b=St+cpESAgmZl5YgUyawpbZej6FEi6hzCzC90pA1xOI/yKOeL8woFOJ4NJGvA9djv8mUvTPEIkI r2LfuVipoSEc8pNPZB4jyEAGe8RhrhCT1rnhsooQE/T9ZXFUUSUkSPwJu8r/+bqTC4HpIP0sVf ABB+C4K8zAFj07eEtGZxizQyUoz87FF0XNDCeLaHOu3bFLheL2nBJPKvXMq7F+jfFvEYEvJd/T QSC/FMD2qbWX02HidSas2dfwDHHJrTGEEDHAuCbp+krWJqSfjgmcbTSWAE6KKpx/zWwwnLtyW7 qiqR161MIJD8srA/KdphwFjQTMwU/81bcq83ZJX49TeneQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1667225216; bh=p2qdKCYyFi7NGhKsilEQ32cjxPQ4UHJOOYhPaPQk7wI=; 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=iD2p1bodS5nUL4Y6hhANpI4LUgXGMrmFGm26fSnS1MdLHaxuJi6JCsG3BEcsYtBQ+rJnccCNk5 gdNZEF+M9tY4aHJ4eI1OjAiJwK7npgzjQRl+YnLowW/aSNy35uOx8tl2v6ULVA5NStVY9K48BW yOM7ApyG0QLPyw22mPfk+pQ9+yRQ5yYZZE/Jd7ANwnZdt4wYOGQTDWst95zbtPNL8U84viI6Hv zHa21mqr7DycysOHj/eJ8LEGsx1BrJsg8b7mTvEiaKUV+Cv8GOrnqrne+Yc3ZQUWu9pTcgbjYm NOfe9Kf4CaB4otOtDpJdQ5Oxy4BqGmTSX1uiSua4Mi0blg==; 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=8cnZSv/VnIpmXAsXYJsPV2xlsURCMiHABUfVrs8HJiw=; b=iQ1MdjvApqwi2mbcNmj0xbh+Ub B/cPIQVJ+SmN7LrevuYG/wxgch75P6xte4RSAlQKUeZKxx4S60e+wjOBrPrKOqrV03cV931eXSnhQ T8OpMkmSNKpks0apMvq0unneDMCgrX4CsPX8toIJwODERIEjKDk8wsRmvPHCy3f6eeggGBPX13nzF hgLZB/uXdsLhd7TigkiLtoSm2Hy30M3o6b0n0Yz44SM6rxWQ4w0PR09bFLbtMoIk7kpJt/WV5sXqK NRrx84K2lVC7sgfrRNybc19ERCAdTCIVmKBGWSWX+Xfe0c+EYjUn9+3C4PFWRoiicaAU7r9PvVuqY MVmuOeaA==; Received: by zero.zsh.org with local id 1opVRH-000Mx4-U9; Mon, 31 Oct 2022 14:06:56 +0000 Authentication-Results: zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none Received: from mta02.eastlink.ca ([24.224.136.13]:54366) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1opVQV-000MHc-4Y; Mon, 31 Oct 2022 14:06:07 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta02.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0RKM00GQ4A8JXNA0@mta02.eastlink.ca> for zsh-users@zsh.org; Mon, 31 Oct 2022 11:06:06 -0300 (ADT) Received: from [192.168.0.2] ([24.207.18.108]) by Eastlink with ESMTPSA id pVQToL2UOzeXppVQTotpBr; Mon, 31 Oct 2022 11:06:06 -0300 X-Authority-Analysis: v=2.4 cv=cYAU7FPM c=1 sm=1 tr=0 ts=635fd64e a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=Wn0OunA4g1JckHcXNZ8A:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrudefgdeitdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeeitdejffevgfdtheeggfetkeeugeegieetuddtvddvudetteffvdevlefgueekudenucfkphepvdegrddvtdejrddukedruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudekrddutdekpdhhvghloheplgduledvrdduieekrddtrddvngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: Date: Mon, 31 Oct 2022 07:06:05 -0700 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: whence output varies with dot vs. realpath in $PATH Content-language: en-US To: zsh-users@zsh.org References: <8cfe03ee-cddc-f70b-0c62-b506e49dfe58@eastlink.ca> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28290 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 2022-10-31 06:43, Roman Perepelitsa wrote: > > % docker run -e TERM -it --rm zshusers/zsh:5.9 zsh > # cd /usr/bin > # PATH=.:$PATH whence -mavS zsh > zsh is ./zsh > zsh is /usr/bin/zsh > > Does this look the way you want? Better sure, the redundant line isn't there. > > How do I get "zsh is zsh" in the output? Are you perchance on an old > version of zsh? Which one? 2 /usr/bin 1 $ zsh --version zsh 5.8 (x86_64-debian-linux-gnu) ... maybe time for an upgrade?  Debian is always behind the times. > Roman. >