delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Fri, 27 Oct 2000 17:44:42 -0400 |
From: | Christopher Faylor <cgf AT redhat DOT com> |
To: | cygwin AT sources DOT redhat DOT com |
Subject: | Re: sh-utils: need interface to realpath() |
Message-ID: | <20001027174442.B859@redhat.com> |
Reply-To: | cygwin AT sources DOT redhat DOT com |
Mail-Followup-To: | cygwin AT sources DOT redhat DOT com |
References: | <200010272122 DOT e9RLMnP11586 AT stay DOT intouchsys DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.3.6i |
In-Reply-To: | <200010272122.e9RLMnP11586@stay.intouchsys.com>; from gildea@intouchsys.com on Fri, Oct 27, 2000 at 05:22:48PM -0400 |
On Fri, Oct 27, 2000 at 05:22:48PM -0400, Stephen Gildea wrote: >I find I need a simple utility in a shell script: something to read >through symlinks and give me the true name of a file. I don't see >anything in Bash (2.04), sh-utils (2.0), or Cygwin (1.0) that provides >this functionality. > >There is a common Unix function realpath() that does what I want, but >it needs to be wrapped in a small utility program. > >I'm not sure where to suggest this utility be added. We needed it in >Cygwin to clean Cygwin pathnames of symlinks before passing them to >native NT programs, so I'm offering this here. > >It is also possible the base GNU shell utilities would be a good place >to add such a program. If such a program is not already in the GNU shell utilities, then you should contact the maintainer and lobby to have your program included. We don't add special things to the GNU utilities if we can help it. Doing so just complicates making new releases. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |