Giter Site home page Giter Site logo

linuxcowboy / vbindiff Goto Github PK

View Code? Open in Web Editor NEW

This project forked from madsen/vbindiff

0.0 1.0 0.0 218 KB

Visual Binary Diff - Hex viewer and differ (upgrade)

Makefile 1.85% Emacs Lisp 0.46% M4 1.47% C++ 77.68% C 8.94% Shell 0.78% Perl 7.66% Raku 1.16%
binary command-line diff hex linux terminal viewer

vbindiff's Introduction

VBinDiff - Visual Binary Diff

Visual Binary Diff (VBinDiff) displays files in hexadecimal and ASCII (or EBCDIC). It can also display two files at once, and highlight the differences between them. Unlike diff, it works well with large files (up to 4 GB).

VBinDiff was inspired by the Compare Files function of the ProSel utilities by Glen Bredon, for the Apple II. When I couldn't find a similar utility for the PC, I wrote it myself.

The single-file mode was inspired by the LIST utility of 4DOS and friends. While less provides a good line-oriented display, it has no equivalent to LIST's hex display. (True, you can pipe the file through hexdump, but that's incredibly inefficient on multi-gigabyte files.)

Working with This Repository

This repository uses a submodule to pull in my Free GetOpt package, which makes it a bit trickier to get started with than the average Git repository. Here's how to get started.

  1. Clone this repository and cd into it.
  2. Run git submodule update --init
  3. If you're working on a Unix system, run autoreconf -i

Now you're ready to use the normal ./configure && make process on Unix, or open win32/vbindiff.dsw on Windows.

To build the documentation, you'll also need Perl, Date::Format, and Template-Toolkit. For Windows, I recommend Strawberry Perl, which comes with the necessary modules. On Unix, your distro may have packages, or you can install from CPAN. Package names for some distros are:

  • Arch Linux: perl perl-template-toolkit perl-timedate
  • Gentoo Linux: dev-lang/perl dev-perl/Template-Toolkit dev-perl/TimeDate
  • Ubuntu: perl libtemplate-perl libtimedate-perl

If you're developing on Unix, I suggest you also cp -a tools/post-commit .git/hooks/. That hook will touch configure.ac after each commit that modifies it, causing configure to be regenerated and making AC_REVISION reflect the new commit.

Copyright and License

Visual Binary Diff is copyright 1995-2013 by Christopher J. Madsen

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

vbindiff's People

Contributors

madsen avatar laomaiweng avatar nfllab avatar linuxcowboy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.