Ubuntu Manpages

opmhash

Hasher for summary keywords in Eclipse files

opmhash: invalid option -- 'h' The purpose of the opmhash program is to load a deck and create a summary, by diffing two such summaries it is simple to determine if two decks are similar. For each keyword a hash of the normalized content is calculated. The output of the program will look like this:

: 13167205945009276792
: 16047371705964514902
: 1264233216877515756
: 10052807539267647959
: 6013609912232720008
: 14106203893673265964
: 7362809723723482303

Where the 'random' integer following each keyword is the hash of the content of that keyword. The hashing is insensitive to changes in white-space and comments and file location. At the bottom comes a total hash of the complete content. The hash of each keyword is insensitive to shuffling of keywords, but the total hash depends on the keyword order.

-l : Add filename and linenumber information to each keyword.

-s : Short form - only print the hash of the complete deck.

The full documentation for opmhash is maintained as a Texinfo manual. If the info and opmhash programs are properly installed at your site, the command

info opmhash

should give you access to the complete manual.