X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=BAYES_00,TW_YG X-Spam-Check-By: sourceware.org From: Gary To: cygwin AT cygwin DOT com Subject: Re: cygpath behaviour when input is not a path References: <83d3wff7t5 DOT fsf AT garydjones DOT name> <837hmmenu0 DOT fsf AT garydjones DOT name> Mail-Followup-To: cygwin AT cygwin DOT com Date: Sun, 30 May 2010 09:51:17 +0200 In-Reply-To: (Andy Koppe's message of "Sat, 29 May 2010 16:54:26 +0100") Message-ID: <83d3wdomiy.fsf@garydjones.name> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (cygwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes 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 Andy Koppe wrote: > On 29 May 2010 16:20, Gary wrote: > Have you got any particular reason for overriding the > locale charset with the -C option? Not particularly. I was just reusing the example from http://www.cygwin.com/cygwin-ug-net/using-utils.html I don't think what I want to do is going to work, TBH. It goes back to a previous thread about using "DOS" tools from inside Cygwin's emacs and the resulting path-style clash. Someone (I think it was you, actually) suggested script should handle the paths spewed out from the tool, converting them to Cygwin/Unix style paths. It looks like cygpath tries to convert every line of (for example) '-f -' though. Since the tool output is mixed paths and text, I'd hoped cygpath made "intelligent" guesses about what was and was not likely to be a path. -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple