From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by sourceware.org (Postfix) with ESMTPS id 8743D3851C3E for ; Thu, 28 May 2020 02:43:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8743D3851C3E Received: by mail-oi1-x230.google.com with SMTP id s198so23671600oie.6 for ; Wed, 27 May 2020 19:43:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SUtCFIMHq5s2PShSgXvU3L1DNvxdH1Wo6Xaso8JTur8=; b=T7HiKOq9KRveNP8GAlfsECven0Rqy1UfO9+DaRk3BCo5X163so3C/JyXhQSL83szxg slhaZ+xoM7umx7mjUfcwJenyMtbSC+jr4j/4aadBMKlUEd+g71guce/f42RDgg+Hi5Fx oxyqu6eI049hmbfgIew2333EYx7Yj51vX//j9IgRJ0CHUIyLZuxlh6hp8W6BLj5rp7vB R+Xw4y7UG2eUVU0OoS/EaDfOlph6nZ6u9YtHBKzDKwGOS6G5G0i9cNuLqH+muBElOEvp fB0TXuALzh+K+ZnMSOAxXupNAGnzEeJyBifvEGVJHPascHfSbv6IkoIoAA7bQxblq1DQ h/EQ== X-Gm-Message-State: AOAM5311JO2jHc7y3Hk4dXo9WSOtEkc3G0W3BAWm7R/hGP6uP912g8U5 rVQXJLl6ynqw3LXGj9AapX3/tH8SJh8WIZK9Y14= X-Google-Smtp-Source: ABdhPJxMME/uezT4AWLgXrdGzGOXJAwLiwYdD8cG8h2Q/vLkw+l5qFBw9hjl3fkC5XyOsqiSZNo/nvDeRfKs42cW7/w= X-Received: by 2002:aca:488c:: with SMTP id v134mr836602oia.103.1590633780978; Wed, 27 May 2020 19:43:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "m@d m0nk" Date: Thu, 28 May 2020 08:12:48 +0530 Message-ID: Subject: Re: diff --horizon-lines=lines To: moss@cs.umass.edu Cc: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GB_FROM_NAME_FREEMAIL, RCVD_IN_DNSWL_NONE, 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2020 02:43:02 -0000 Thanks EM.I did go through the post, I understood the concept/theory, but I am unable to do a practical demo of it. Do you have a sample file set for demo or can you suggest something? On Thu, May 28, 2020 at 8:10 AM Eliot Moss wrote: > > On 5/27/2020 10:27 PM, m@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 -- __| madm0nk |__ th3 sib3rian m0nk --------------------------