I\'m trying to write a program that can compare two files line by line, word by word, or character by character in C. It has to be able to read in command line options
I wrote a tiny library that parses arguments similar to POpt, which I had several issues with, called XOpt. Uses GNU-style argument parsing and has a very similar interface to POpt.
I use it from time to time with great success, and it works pretty much anywhere.