X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=twdYlHuXbxphlxN+
	+Nr1ECcLUt7SvUbhOimh8ZdrAdHffGjztEqNc0Io4iuSCwONywrY/PQ1hIyY2AXd
	nXe8iv43EZU32CKHkwTwK8r5YzxGAvHfSqDjhkiC8IWPOttlU0yojZBgrCIcfJt9
	Fzy330Wv5xfxsMWH5aQ9ZPex+FE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=qpzjN4PRzyYll5bWEu6nVI
	wsTIA=; b=RiXK805ON9snnY/JMrejZ5r9K8eqHx2HxiihcpGUrO84rHrBO/PSnZ
	zDz1xNdnf2l7mJGPCM1C5jOWJYt/MMfU8h+dO/Q+eo9ImRqp1b/wMF+q9FoLn+tg
	oPfVglCWRmoPrCspy6W1eFBHkNK/g3Ngd9o12ckGzzv/esrrCOLEw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Wed, 7 Jan 2015 04:32:27 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1827132938.20150107043227@yandex.ru>
To: Paul <Paul.Domaskis@gmail.com>, cygwin@cygwin.com
Subject: Re: Force "ls" to show .exe extension
In-Reply-To: <loom.20150107T010713-891@post.gmane.org>
References: <loom.20150106T203355-631@post.gmane.org> <1941710256.20150107013212@yandex.ru>   <loom.20150107T010713-891@post.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Paul!

>>> ...if I have ~/bin/pdfcrop.exe, the command "ls ~/bin/pdfcrop"
>>> shows pdfcrop rather than pdfcrop.exe.  Is there any way to force
>>> ls to show the full filename (including extension) if it matched
>>> the ls argument, even if the ls argument doesn't specify the
>>> extension?  I read
>>> http://cygwin.com/cygwin-ug-net/using-specialnames.html, which
>>> helps explain the situation, but not a solution.
>>
>> I see people are diving deep to find a "solution", but noone has
>> asked, what is the problem they are trying to solve here.  So, let
>> me ask it: what is the problem?

> Hello, Andrey,

> I'm wading through many files in two file trees.  In particular, I'm
> looking at corresponding directories in the two trees where "diff -qr"
> revealed differences.  I want the absolute truth of what the filename
> is with minimal distrations about how to achieve that.  Then, I can
> focus on figuring how those files came about, and how the differences
> arose.

Use more appropriate tools.
I.e. Far manager have standard file/directory comparison plugin.
Which can quickly compare paths and or contents of the files.
However, it will not show differences inside files, only show that they are
different, but you can always augment it with
view:<? diff -x "CVS" -x ".svn" -I "\$Id.*\$" -I "\$Revision.*\$" -I "\$Date.*\$" -I "\$Author.*\$" -I "\$URL.*\$" !?$UnixDiff$Options ((-c, -b etc.)):?! --strip-trailing-cr -- "!#!\!.!" "!^!\!.!"

P.S.
I'm not saying that this can not be achieved with Cygwin tools, but even then,
using "ls" to compare files one by one is hardly efficient.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 07.01.2015, <04:24>

Sorry for my terrible english...


--
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

