Re: basic file compare command



goarilla <"kevin<punt>paulus|"@|skynet punt> wrote:
Aaron Gray wrote:
"Bit Twister" <BitTwister@xxxxxxxxxxxxxxxx> wrote in message news:slrng178kl.scb.BitTwister@xxxxxxxxxxxxxxxxx
On Sat, 26 Apr 2008 22:29:45 +0100, Aaron Gray wrote:
Is there a command like 'diff' but that just basically says whether two
files are the same or not.
Yes, but had you done a man diff it gave you a switch to just
what you asked for. :(


Failing that something I can pipe diff into that does that ?
Yes.

You might try something like

man -k compare | grep file

then you do a
man <command of interest here>
to check the switches of each application to see one which might
fit your needs.

Sorry !

Aaron


diff -b file1 file2
damn sorry i ment brief
diff --brief file1 file2
.



Relevant Pages

  • command line switch to disable following symlink in DIFF program
    ... Is "diff" program supposed to have a switch at command line to disable following ... symbolic links when -r switch is given, ... I think that "diff" need a switch to disable following symlink to compare final object, ...
    (freebsd-hackers)
  • Re: basic file compare command
    ... but had you done a man diff it gave you a switch to just ... damn sorry i ment brief ... diff --brief file1 file2 ...
    (alt.os.linux)
  • Re: 1984 Chevy s10 truck
    ... The front diff is controlled by a vacuum switch and cable. ... The vac switch is located on the right side engine compartment behind the battery. ... (Roundish thing with a vac hose on one end, and cable to the diff on other). ... The lever on the floor only controls vac to the switch, ...
    (rec.autos.4x4)
  • I need diff against RUNNING code paths..
    ... In short, I have a bug and some weeks ago I see where live, but for switch my work to other task (and have the trouble to work in VB.NET/C#/FoxPro at the same time) I lost from my memory the problem. ... I need to know how diff against this codepaths. ...
    (borland.public.delphi.language.basm)
  • Re: usb/scanimage broken on 6.1-PRERELEASE
    ... retrieving revision 1.36.2.1 ... switch { ... diff -u -r1.154.2.2 ohci.c ... struct usbd_bus_methods { ...
    (freebsd-stable)