4898794edd81be5285ea6e544acbedeaeb31bf78 max Tue Nov 23 08:10:57 2021 -0800 Fixing pointers to README file for license in all source code files. refs #27614 diff --git src/utils/catUncomment/catUncomment.c src/utils/catUncomment/catUncomment.c index 03a9645..94ee64b 100644 --- src/utils/catUncomment/catUncomment.c +++ src/utils/catUncomment/catUncomment.c @@ -1,47 +1,47 @@ /* catUncomment - Concatenate input removing lines that start with '#'. */ /* Copyright (C) 2011 The Regents of the University of California - * See README in this or parent directory for licensing information. */ + * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "linefile.h" void usage() /* Explain usage and exit. */ { errAbort( "catUncomment - Concatenate input removing lines that start with '#'\n" "Output goes to stdout\n" "usage:\n" " catUncomment file(s)\n"); } void catUncomment(int inCount, char *inNames[]) /* catUncomment - Concatenate input removing lines that start with '#'. */ { struct lineFile *lf; char *fileName; char *line; int i, lineSize; for (i=0; i<inCount; ++i) { fileName = inNames[i]; lf = lineFileOpen(fileName, FALSE); while (lineFileNext(lf, &line, &lineSize)) { if (line[0] != '#') mustWrite(stdout, line, lineSize); } lineFileClose(&lf); } } int main(int argc, char *argv[]) /* Process command line. */ { if (argc < 2) usage(); catUncomment(argc-1, argv+1); return 0; }