This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: How to resolve a link?
- From: Christopher Faylor <cgf-idd at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 22 Jul 2003 21:29:57 -0400
- Subject: Re: How to resolve a link?
- References: <3F1DE381.7010605@cox.net>
- Reply-to: cygwin at cygwin dot com
On Tue, Jul 22, 2003 at 09:23:13PM -0400, David A. Cobb wrote:
>Recently, I was trying to do "strace Xemacs . . ."
>First I got a "No such file" error, so I changed to do "strace `which
>xemacs` " -- still a failure.
>
>which xemacs returns "/usr/local/bin/xemacs.exe.lnk"; that is, my normal
>handle to launch xemacs is a symlink to the executable whose name or
>location varies with the version-number.
>
>Given that its purpose is to locate what executable file one will use in
>a particular environment, should not 'which' resolve the symlink and
>return its target?
No.
>What would happen on *nix?
The same thing as on cygwin.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam@sourceware.org
and be permanently blocked from mailing lists at sources.redhat.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/