delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/15/06:06:08

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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=YjMa1dMGN4mEp03+
yNEp0QTIvOAx9XZyjnysn3qNSDpwDgu9+0cTOQSy02q5EmM1NnoExIb4LDZhPU3B
691XtTXrhK77UGRZD5bqFburzZCVTwiR83QKblm0JjvLYXUzoMe4W0dsDEwn5ACp
lFU3qOHb9j8sWJC7fXbTGLlYffY=
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=QlUtROuljoKxUgFv3t6Xsa
fRuA0=; b=yh0PXNQUGvx54HNTpR3fTo32Q204Ger6/KLDMiJhvpVThV0pxrbW+J
PSDvQfWJMBXMFf7LedEsI4RkX0TZ6sFtgO0QAeiG+3c1HGzdERQat0+wk9GBq4eM
6312Di16XbRKjmVG1bmP1mgWOdGb+YkeNU+tA37VO3ZzipqWD8CNU=
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=4.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, H*r:sk:postmas, H*UA:Home
X-HELO: smtp.ht-systems.ru
Date: Fri, 15 Apr 2016 12:53:06 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <754938730.20160415125306@yandex.ru>
To: John Cowan <cowan AT mercury DOT ccil DOT org>, cygwin AT cygwin DOT com
Subject: Re: native Linux userland in Windows 10
In-Reply-To: <20160414233421.GC29184@mercury.ccil.org>
References: <416uDmm4T7200S05 DOT 1460552179 AT web05 DOT cms DOT usa DOT net> <84CCF5B5-9F11-4541-A527-FD0BD3AE5545 AT etr-usa DOT com> <1117668279 DOT 20160414220758 AT yandex DOT ru> <20160414204000 DOT GA7622 AT mercury DOT ccil DOT org> <204284648 DOT 20160415013838 AT yandex DOT ru> <20160414233421 DOT GC29184 AT mercury DOT ccil DOT org>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, John Cowan!

>> Right now, I hit Alt+Shift+D, which invokes a short macro calling menu entry
>> view:<? diff -x "CVS" -x ".svn" -I "\$Id.*\$" -I "\$Rev.*\$" -I "\$Date.*\$" -I "\$Author.*\$" -I "\$URL.*\$" -I "^Orbiting .*$" !?$UnixDiff$Options ((-c, -b etc.)):?! --strip-trailing-cr -- "!#!\!.!" "!^!\!.!"
>> and get two files (or directories) on opposite panels diffed into an internal
>> viewer. 

> Very efficient, I'm sure.  But to each their own.

Of course, it is efficient.
More efficient, than starting a shell each time I need to diff a file.
Or 2-3 shells, if you call a wrapper. Which is least efficient, considering
retarded CMD quoting rules.

>> Because Cygwin diff consume normal Windows paths without an issue.

> No doubt.  But it also handles /cygdrive/c paths, the moral equivalent
> of /mnt/c paths, and that's what I use.

Moral is a relative category.


-- 
With best regards,
Andrey Repin
Friday, April 15, 2016 12:50:52

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

- Raw text -


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