delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/25/16:30:51

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
Message-ID: <397DF803.A4EE48FD@ece.gatech.edu>
Date: Tue, 25 Jul 2000 16:26:43 -0400
From: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Noel L Yap <yap_noel AT jpmorgan DOT com>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: pwd questions and problems
References: <85256927 DOT 006FE4DB DOT 00 AT nyc-ntgw-n01 DOT ny DOT jpmorgan DOT com>

Try

 cygpath -w -p `pwd`

--Chuck

Noel L Yap wrote:
> 
> Does anyone know how I can get 'pwd' to output the current working directory
> without regard to mounts?  For example, I have M: mounted to /view.  When I'm in
> //m and I do a 'pwd', I get /view when I really want //m.
> 
> Also, I've noticed that PWD isn't set under 'sh'.
> 
> Noel
> 
> This communication is for informational purposes only.  It is not intended as
> an offer or solicitation for the purchase or sale of any financial instrument
> or as an official confirmation of any transaction. All market prices, data
> and other information are not warranted as to completeness or accuracy and
> are subject to change without notice. Any comments or statements made herein
> do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its
> subsidiaries and affiliates.
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019