a44421a79fb36cc2036fe116b97ea3bc9590cd0c braney Fri Dec 2 09:34:39 2011 -0800 removed rcsid (#295) diff --git src/utils/toLower/toLower.c src/utils/toLower/toLower.c index 8dbcef8..4bf5da2 100644 --- src/utils/toLower/toLower.c +++ src/utils/toLower/toLower.c @@ -1,39 +1,38 @@ /* toLower - Convert upper case to lower case in file. Leave other chars alone. */ #include "common.h" #include "linefile.h" -static char const rcsid[] = "$Id: toLower.c,v 1.2 2003/05/06 07:41:09 kate Exp $"; void usage() /* Explain usage and exit. */ { errAbort( "toLower - Convert upper case to lower case in file. Leave other chars alone\n" "usage:\n" " toLower in out\n"); } void toLower(char *inName, char *outName) /* toLower - Convert upper case to lower case in file. Leave other chars alone. */ { struct lineFile *lf = lineFileOpen(inName, FALSE); FILE *f = mustOpen(outName, "w"); int lineSize; char *line; while (lineFileNext(lf, &line, &lineSize)) { toLowerN(line, lineSize); mustWrite(f, line, lineSize); } fclose(f); } int main(int argc, char *argv[]) /* Process command line. */ { if (argc != 3) usage(); toLower(argv[1], argv[2]); return 0; }