delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/30/03:51:36

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 <cygwin AT garydjones DOT name>
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> <AANLkTilbSnkvkJwetC20mzSWld48nOTYtDnKp8OXNQNh AT mail DOT gmail DOT com>
Mail-Followup-To: cygwin AT cygwin DOT com
Date: Sun, 30 May 2010 09:51:17 +0200
In-Reply-To: <AANLkTilbSnkvkJwetC20mzSWld48nOTYtDnKp8OXNQNh@mail.gmail.com> (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
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


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