X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9C0A43858434 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1670859695; bh=dmObMznDNe2CRnQmJcfkATDAFk/uBPHX6L3DOTWA5XA=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=kYg5yWNK4XgzOdFfbj7t4QF70a7CbMEyQdSu7k4DqqzF59ki2NZpF03HXhsnynjgP yWpoGr8RVO5LwY3aY+b9lEDciZ3i8965XmiT13BOw+dlq4MvJ/MJ7GgI65i1w58VR6 ULPl8wbeTRZJLpSUkUbYcqc76g6ReLQr2jWR7KUc= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com Date: Mon, 12 Dec 2022 16:41:00 +0100 To: cygwin AT cygwin DOT com Subject: Re: [EXTERNAL] Re: Strange behavior when executing programs Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: <1031eafe-fc3b-ab5b-6e63-b0f56c038332 AT razorcat DOT com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:buygTC9KMnspf+sTLJhFjAOfOLfMoHffbKOB8vrdMtHuDnXJ6vN bNrGehmUOZ7ARt5R3b2OewihOLjhgmxclkyLmZ7W0Ae1L7B89QacpF25eIB6HTVij9zHm/6 GnYUVv81JZSRam96mIVgKtg/ye7nQIRK3tkpk3Un+Y9TCdCE0N6vf+SU0Dc3Tj6WJ9UP3I/ U1IoqEzXz+VVnGNXlA7Lw== UI-OutboundReport: notjunk:1;M01:P0:/qDUa0QJ7SI=;TinekClmNGOlKmFD0OYTVuiql+f cffd0tyPV8LFavpEjfKkPF6p5UcPsiul41U3Cyz9iaQFJZFIqRPn2NVBRieW6v50owbj99FxA II064vzlxD5faTKK5XvRwQ1B0YybZLfpEOh6g3KvXAnbLsTbqY2TcXY3Fq2qYuBT9umWLZ8Va KlsX5q99SSYwS3reG1jW8AAR3a68zmLshIjXDSuMXBTfmsmKK8jWbPNWeisKJpi6yPiyLSYC9 xPHNaV3JEea1sFxITBCgK3UeacosVt+B/JX/rM5sp/gyucFD3HtSVjLE8ouo/XK8L3KHYRi1+ gglpoeZ9x+HJhe7gO3+zDNHuT7Ue7m7Xrg1AC4si942Wca+8yAoKwXbFCglf4JKnS4jXpKXtU Kz4fsucLfq7PTk8+wfi2ydWyABSywTUvwckLnUN7YJ7D2mE++B7/sYbhInKqSw2taJU6nSRb7 n8Ls4TAkEgir6BQC+TlMi7WbxYiGhfRJa1NZDWB3SDLmVKpYYnCX96/pdxLJGJNXo/jyxwe1i NLh7FbpFQLVJYUEtoQNle0Fvu69fCNmW0sbaFEmyvSOu2qJp9W6UMoJQGD1FjZqJV0bfYJAqq LZsdwIuBNhWQzndY6EnWnVsvoCBo9Ky+4otSgHVoZ9Avu7z53zhJ6MWkLrWr4RWp44v0B8ZOb omt+E2rvhs6ZLF1eauL8pnQIfVAn1Ycbji9RdYm/mg== X-Spam-Status: No, score=-95.5 required=5.0 tests=BAYES_00, GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Dec 12 15:22, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > Sorry about the earlier typos > > > (and, hence, I suppose for the purposes of the OP). > > and, hence, I suppose, *would work* for the purposes of the OP. > > > Since realpath is supposed to resolve all symlinks, > > I meant by default (the -P behavior). If -s was asked, then the output would be corect. Options are only available in realpath(1). As for under the hood, realpath(3) has no options so it can only return one of the alternatives. Corinna -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple