X-Spam-Check-By: sourceware.org Message-ID: Date: Wed, 23 May 2007 19:30:10 -0400 From: "Lev Bishop" To: cygwin@cygwin.com Subject: Re: How to uniformly point to the root of a drive? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070521041542.GA23520@ednor.casa.cgf.cx> <20070521142944.GC6003@calimero.vinschen.de> <004301c79bb6$c8c70db0$2e08a8c0@CAM.ARTIMI.COM> <20070521152515.GD6003@calimero.vinschen.de> <20070521164542.GF6003@calimero.vinschen.de> <20070523165335.GQ6003@calimero.vinschen.de> Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com On 5/23/07, Lev Bishop wrote: > On 5/23/07, Corinna Vinschen wrote: > > 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? > > "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 Also, why do you have it so that -s is not just a synonym for -d, and why doesn't -l force -w? There seems to be no advantage to forcing the user to specify an additional flag. Lev -- 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/