reorganization of this spagetti will follow soon.
* replace -e with -c * don't save command in history if last line is the same one * doc/help fixes
* (many) reference <lib/version.h> rather than "version.h", because version.h is a generated file and not present in the source tree when using objdir builds. (committed by gdt) works fine with normal builds; didn't try objdir