This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sh-utils: need interface to realpath()


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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]