X-Recipient: archive-cygwin@delorie.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@garydjones.name>
To: cygwin@cygwin.com
Subject: Re: cygpath behaviour when input is not a path
References: <83d3wff7t5.fsf@garydjones.name> <837hmmenu0.fsf@garydjones.name>	<AANLkTilbSnkvkJwetC20mzSWld48nOTYtDnKp8OXNQNh@mail.gmail.com>
Mail-Followup-To: cygwin@cygwin.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
Content-Type: text/plain; charset=us-ascii
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

