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/hg/poster/foldDb/checkDupe/checkDupe.c src/hg/poster/foldDb/checkDupe/checkDupe.c index 6e6a1e0..9a7f332 100644 --- src/hg/poster/foldDb/checkDupe/checkDupe.c +++ src/hg/poster/foldDb/checkDupe/checkDupe.c @@ -1,42 +1,42 @@ /* checkDupe - Check for dupes in HUGO names. */ /* 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" #include "hash.h" void usage() /* Explain usage and exit. */ { errAbort( "checkDupe - Check for dupes in HUGO names\n" "usage:\n" " checkDupe file.tab\n"); } void checkDupe(char *fileName) /* checkDupe - Check for dupes in HUGO names. */ { struct lineFile *lf = lineFileOpen(fileName, TRUE); char *words[7]; struct hash *uniqHash = newHash(0); while (lineFileRow(lf, words)) { if (sameString(words[3], "hugo")) { hashAddUnique(uniqHash, words[6], NULL); } } } int main(int argc, char *argv[]) /* Process command line. */ { if (argc != 2) usage(); checkDupe(argv[1]); return 0; }