delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/01/07/12:22:11

X-Recipient: archive-cygwin AT delorie DOT 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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=fvwC2er8qKxkmmzBrgfAMhCfi4rVexkY7AeZEt+V7aHN6eC6cd4lI
BLSfPQ5dJqYxgyz9B/JtV3krtYAyz8ouWxtyAy3Y1CLgjs67dtXULdHNFkZ1eUUJ
2s0wTVlGT7yuLUgXPVmhMMyrKXqC3E9L2a8va8UUPpCrVsXpsMu2YQ=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=OOPCuQNWHLkzPA3p7cMybjrKmxI=; b=fmfr/qe1aX68I/YxMY7I4com+kHA
0pFN+XlC6wDufu8y0c9mY2KTbDLxbYbM4NZhGGS76THqMcNvxxACAotasXNzSIDR
OT4uzNdcL6ZgHaRLEpYXpq6vxhbVfozWSRjQyvYSRPsOBqndyfqubEWS+YE8xnxC
/m1ElpGYHboF6Dc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Paul <Paul DOT Domaskis AT gmail DOT com>
Subject: Re: Force "ls" to show .exe extension
Date: Wed, 7 Jan 2015 15:46:01 +0000 (UTC)
Lines: 36
Message-ID: <loom.20150107T162643-553@post.gmane.org>
References: <loom DOT 20150106T203355-631 AT post DOT gmane DOT org> <1941710256 DOT 20150107013212 AT yandex DOT ru> <loom DOT 20150107T010713-891 AT post DOT gmane DOT org> <1827132938 DOT 20150107043227 AT yandex DOT ru>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Andrey Repin <anrdaemon <at> yandex.ru> writes:
>> 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.

Andrey, I appreciate the awareness that you gave of Far Manager, but
I'm going to have to say that in this case, it's not the most suitable
course of action.  We're a locked down shop, so installing new tools
is problematic.  Even if it was available, however, the prevailing
environment is that committing time to explore new tools is carefully
weighed against what else is not being done.  I realize that the
latter doesn't fly very well in an open forum in which people freely
donate their time to help, but it is a reality that can't be changed
for many.  Finally, if Far Manager were installable, whether to give
it a try would be weighed against the fact that a lot more ls is being
used in figuring how differences between file trees.  It's actually a
small part, and I was just giving a bit of context around it.

Nevertheless, as I said, I appreciate the extra awareness of that
tool.


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