Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Wed, 17 Jan 2001 15:43:18 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: /bin/pwd versus built-in pwd Message-ID: <20010117154318.D14952@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3A64D197 DOT 514DD0FA AT veritas DOT com> <200101172009 DOT WAA11316 AT linux.> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <200101172009.WAA11316@linux.>; from ehud@unix.simonwiesel.co.il on Wed, Jan 17, 2001 at 10:09:06PM +0200 On Wed, Jan 17, 2001 at 10:09:06PM +0200, Ehud Karni wrote: >On Tue, 16 Jan 2001 14:56:23 -0800, Bob McGowan wrote: >> >> "...That is, all components of the printed name will be actual >> directory names -- none will be symbolic links." >> >> I'd say this is a bug. > >Despite what Christopher Faylor thinks, I'll say it >is a real bug with critical implications. Huh? I never said it wasn't a bug. Quite the contrary. I suggested that people read the email archives. Look for "pwd symlink". >If you want to check if directories are the same, or in the same branch >absolute paths must be used. I have many scripts (all of them working >on Linux and other UNIX's) that use `/bin/pwd` to get the absolute >path. If the current situation is kept (i.e. `/bin/pwd` returning the >path the shell used to get to this directory, not the absolute one) >then it is a big immigration problem. I have no idea what an "immigration problem" is but you're welcome, as always to submit a patch. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple