X-Spam-Check-By: sourceware.org Date: Thu, 24 May 2007 14:39:21 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: How to uniformly point to the root of a drive? Message-ID: <20070524123921.GS6003@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20070521041542 DOT GA23520 AT ednor DOT casa DOT cgf DOT cx> <20070521142944 DOT GC6003 AT calimero DOT vinschen DOT de> <004301c79bb6$c8c70db0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <20070521152515 DOT GD6003 AT calimero DOT vinschen DOT de> <20070521164542 DOT GF6003 AT calimero DOT vinschen DOT de> <20070523165335 DOT GQ6003 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On May 23 18:47, Lev Bishop wrote: > On 5/23/07, Corinna Vinschen wrote: http://cygwin.com/acronyms/#PCYMTNQREAIYR > >Done. The rules have changed slightly, but should be consistent now. > >The option handling when reading from files (-o -f ...) is now identical > >to the option handling from the the command line, except that the -o and > >-f options are invalid when reading from a file. > > Now, one can't do, eg, "cygpath -w -S" to get the system directory in > windows format (or even "cygpath -u -S" to explicitly ask for it in > unix form. Previously these worked. Is that intentional? That's called a bug, I guess. > "cygpath -f" seems to ignore commandline options, eg to convert to > windows format: > $ cygpath -w -f - <<< /usr/bin/bash > /usr/bin/bash > > "cygpath -of" seems to default to windows format rather than unix > format, except for "system directory" options: > > $ /bin/echo -e "/usr/bin/bash\n-P" | cygpath -of - > C:\cygwin\bin\bash > /cygdrive/c/Documents and Settings/Lev/Start Menu/Programs I have a new version, but it requires a patch to newlib. The fixes will be in the next developer's snapshot, as soon as the newlib fix has been approved. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/