00001 00002 00003 00004 #include <unistd.h> 00005 #include <iostream> 00006 00007 #include "options.h" 00008 #include "protectcorrectfile.h" 00009 00010 int main(int argc, char * const argv[]) 00011 { 00012 readoptions(argc,argv); 00013 if (protectmode) protectfile(); 00014 else return correctfile() ? 0 : 1; 00015 return 0; 00016 } 00017