a44421a79fb36cc2036fe116b97ea3bc9590cd0c
braney
  Fri Dec 2 09:34:39 2011 -0800
removed rcsid (#295)
diff --git src/utils/lineCount/lineCount.c src/utils/lineCount/lineCount.c
index 933d233..59615d0 100644
--- src/utils/lineCount/lineCount.c
+++ src/utils/lineCount/lineCount.c
@@ -1,51 +1,50 @@
 /* lineCount - Count lines in a file. */
 #include "common.h"
 #include "linefile.h"
 #include "hash.h"
 #include "options.h"
 
-static char const rcsid[] = "$Id: lineCount.c,v 1.3 2003/05/06 07:41:07 kate Exp $";
 
 void usage()
 /* Explain usage and exit. */
 {
 errAbort(
   "lineCount - Count lines in a file\n"
   "usage:\n"
   "   lineCount file(s)\n"
   "options:\n"
   "   -xxx=XXX\n"
   );
 }
 
 void lineCount(int fileCount, char *fileNames[])
 /* lineCount - Count lines in a file. */
 {
 long total = 0;
 long oneFile = 0;
 struct lineFile *lf;
 char *line;
 int i;
 for (i=0; i<fileCount; ++i)
     {
     lf = lineFileOpen(fileNames[i], FALSE);
     oneFile = 0;
     while (lineFileNext(lf, &line, NULL))
         ++oneFile;
     printf("%ld\t%s\n", oneFile, lf->fileName);
     lineFileClose(&lf);
     total += oneFile;
     }
 if (fileCount > 1)
     printf("%ld\n", total);
 }
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
 optionHash(&argc, argv);
 if (argc < 2)
     usage();
 lineCount(argc-1, argv+1);
 return 0;
 }