Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #12580 > unrolled thread
| Started by | JohnF <john@please.see.sig.for.email.com> |
|---|---|
| First post | 2014-11-02 04:58 +0000 |
| Last post | 2014-11-02 05:12 +0000 |
| Articles | 2 — 1 participant |
Back to article view | Back to comp.os.linux.misc
diff -y ??? JohnF <john@please.see.sig.for.email.com> - 2014-11-02 04:58 +0000
Re: diff -y ??? JohnF <john@please.see.sig.for.email.com> - 2014-11-02 05:12 +0000
| From | JohnF <john@please.see.sig.for.email.com> |
|---|---|
| Date | 2014-11-02 04:58 +0000 |
| Subject | diff -y ??? |
| Message-ID | <m34dl0$3dh$1@reader1.panix.com> |
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 )
[toc] | [next] | [standalone]
| From | JohnF <john@please.see.sig.for.email.com> |
|---|---|
| Date | 2014-11-02 05:12 +0000 |
| Message-ID | <m34efr$3fl$1@reader1.panix.com> |
| In reply to | #12580 |
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 <john@please.see.sig.for.email.com> 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 )
[toc] | [prev] | [standalone]
Back to top | Article view | comp.os.linux.misc
csiph-web