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/undupFa/undupFa.c src/utils/undupFa/undupFa.c
index 35cdec68..05b550a 100644
--- src/utils/undupFa/undupFa.c
+++ src/utils/undupFa/undupFa.c
@@ -1,59 +1,59 @@
 /* undupFa - remove duplicate records from FA file. */
 
 /* 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 "fa.h"
 #include "hash.h"
 #include "obscure.h"
 
 
 void usage()
 /* Print usage and exit. */
 {
 errAbort(
   "undupFa - rename duplicate records in FA file\n"
   "usage\n"
   "   undupFa faFile(s)\n");
 }
 
 void undupFa(char *fileName)
 /* undupFa - remove duplicate records from FA file. */
 {
 struct dnaSeq *seqList = faReadAllDna(fileName), *seq;
 struct hash *uniq = newHash(0);
 struct hashEl *hel;
 int ix;
 char newName[256];
 char *name;
 
 FILE *out = mustOpen(fileName, "w");
 for (seq = seqList; seq != NULL; seq = seq->next)
     {
     name = seq->name;
     if ((hel = hashLookup(uniq, name)) == NULL)
 	hashAdd(uniq, name, NULL);
     else
 	{
 	ix = ptToInt(hel->val);
 	hel->val = intToPt(ix+1);
 	sprintf(newName, "%s_%c", name, 'a' + ix);
 	printf("Converting %s number %d to %s\n", name, ix+1, newName);
 	name = newName;
 	hashAdd(uniq, newName, NULL);
 	}
     faWriteNext(out, name, seq->dna, seq->size);
     }
 fclose(out);
 }
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
 int i;
 if (argc < 2)
     usage();
 for (i=1; i<argc; ++i)
     undupFa(argv[i]);
 return 0;
 }