a44421a79fb36cc2036fe116b97ea3bc9590cd0c
braney
  Fri Dec 2 09:34:39 2011 -0800
removed rcsid (#295)
diff --git src/utils/detab/detab.c src/utils/detab/detab.c
index 54d2e26..ed30960 100644
--- src/utils/detab/detab.c
+++ src/utils/detab/detab.c
@@ -1,58 +1,57 @@
 /* detab - remove tabs from program. */
 #include "common.h"
 #include "linefile.h"
 #include "hash.h"
 #include "options.h"
 
-static char const rcsid[] = "$Id: detab.c,v 1.3 2003/05/06 07:41:05 kate Exp $";
 
 int tabSize = 8;
 
 void usage()
 /* Explain usage and exit. */
 {
 errAbort(
   "detab - remove tabs from program\n"
   "usage:\n"
   "   detab inFile outFile\n"
   "options:\n"
   "   -tabSize=N (default 8)\n"
   "Note currently this just replaces tabs with tabSize\n"
   "spaces.  Tabs actually add a variable number of spaces\n"
   "if properly implemented,  going to the next column that's\n"
   "an even multiple of tabSize.   If you need this please\n"
   "implement it and put in a -proper flag or something. -jk\n"
   );
 }
 
 void detab(char *inFile, char *outFile)
 /* detab - remove tabs from program. */
 {
 struct lineFile *lf = lineFileOpen(inFile, FALSE);
 FILE *f = mustOpen(outFile, "w");
 char *line;
 int lineSize, i;
 
 while (lineFileNext(lf, &line, &lineSize))
     {
     for (i=0; i<lineSize; ++i)
         {
 	char c = line[i];
 	if (c == '\t')
 	    spaceOut(f, tabSize);
 	else
 	    fputc(c, f);
 	}
     }
 }
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
 optionHash(&argc, argv);
 tabSize = optionInt("tabSize", tabSize);
 if (argc != 3)
     usage();
 detab(argv[1], argv[2]);
 return 0;
 }