Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!ra.nrl.navy.mil!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!not-for-mail From: JohnF Newsgroups: comp.os.linux.misc Subject: Re: diff -y ??? Date: Sun, 2 Nov 2014 05:12:27 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 28 Message-ID: References: NNTP-Posting-Host: panix3.panix.com X-Trace: reader1.panix.com 1414905147 3573 166.84.1.3 (2 Nov 2014 05:12:27 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Sun, 2 Nov 2014 05:12:27 +0000 (UTC) User-Agent: tin/2.0.0-20110823 ("Ardenistiel") (UNIX) (NetBSD/6.1.5 (i386)) Xref: csiph.com comp.os.linux.misc:12583 Sorry, never mind. I tried, but failed, googling before posting, but have now googled the answer diff -y --suppress-common-lines (I'd of thunk that would be the default for a program called diff) JohnF wrote: > diff -y doesn't seem to be working, or I don't know how to use it. > Even diff'ing the same file, diff alone emits nothing, > but diff -y emits every line of the file, side-by-side, i.e., > bash-4.2$ diff test.txt test.txt > bash-4.2$ > but > bash-4.2$ diff -y -W 60 test.txt test.txt > This is a test file This is a test file > showing that showing that > diff -y doesn't work, diff -y doesn't work, > at least not when at least not when > I'm using it. I'm using it. > bash-4.2$ > Same thing happens without the -W (but longer lines), > and same thing happens with -yw or any other -switches > I tried that include -y. I'm using diff --version > diff (GNU diffutils) 3.3 > Any way to get that -y to work (or how do you properly > use it)? -- John Forkosh ( mailto: j@f.com where j=john and f=forkosh )