www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/05/27/22:41:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 89003386F83E
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=cs.umass.edu
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=moss AT cs DOT umass DOT edu
Subject: Re: diff --horizon-lines=lines
To: "m AT d m0nk" <th3madm0nk AT gmail DOT com>, cygwin AT cygwin DOT com
References: <CAEbtD=y4eFF6vNqP7UDVRJjmumm-50GSg0dG-cAcsCMBVkQZ_g AT mail DOT gmail DOT com>
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Message-ID: <a95627e8-1ca6-3b8d-9d78-5d27a0edc7ba@cs.umass.edu>
Date: Wed, 27 May 2020 22:40:07 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101
Thunderbird/68.8.1
MIME-Version: 1.0
In-Reply-To: <CAEbtD=y4eFF6vNqP7UDVRJjmumm-50GSg0dG-cAcsCMBVkQZ_g@mail.gmail.com>
X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: moss AT cs DOT umass DOT edu
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On 5/27/2020 10:27 PM, m AT d m0nk via Cygwin wrote:
> Hello All,
> 
> I am trying to understand the practical use of "--horizon-lines=lines"
> option in the diff utility.
> 
> Can i get some pointers on two sample files which can demonstrate the
> use of --horizon-lines=lines
> 
> I understood the theory / definition from the info / man file.
> However, I am unable to reproduce the scenario.
> 
> Request some pointers.

This stackexchange post may give some insight (it did for me):

https://unix.stackexchange.com/questions/158097/diff-horizon-lines-lines-explained

Regards - EM
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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