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/oneShot/pslCut/pslCut.c src/hg/oneShot/pslCut/pslCut.c
index 1e000c8..fc3c36c 100644
--- src/hg/oneShot/pslCut/pslCut.c
+++ src/hg/oneShot/pslCut/pslCut.c
@@ -1,75 +1,75 @@
 /* pslCut - Remove a list of clones from psl 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 "linefile.h"
 #include "hash.h"
 #include "psl.h"
 #include "hCommon.h"
 
 
 void usage()
 /* Explain usage and exit. */
 {
 errAbort(
   "pslCut - Remove a list of clones from psl file.\n"
   "usage:\n"
   "   pslCut cut.lst in.psl out.psl\n");
 }
 
 void buildCutHash(char *file, struct hash *hash)
 /* Each line of file contains a file name.  Put the
  * non-dir/non-suffix part onto hash. */
 {
 struct lineFile *lf = lineFileOpen(file, TRUE);
 char dir[256], name[128], ext[64];
 int lineSize;
 char *line;
 int count = 0;
 
 while (lineFileNext(lf, &line, &lineSize))
     {
     splitPath(line, dir, name, ext);
     hashStore(hash, name);
     ++count;
     }
 lineFileClose(&lf);
 printf("%d clones in cut list %s\n", count, file);
 }
 
 void pslCut(char *cutList, char *inPsl, char *outPsl)
 /* pslCut - Remove a list of clones from psl file.. */
 {
 struct hash *cutHash = newHash(0);
 struct lineFile *lf = pslFileOpen(inPsl);
 FILE *f = mustOpen(outPsl, "w");
 struct psl *psl;
 char cloneName[128];
 int total = 0, cut = 0;
 
 buildCutHash(cutList, cutHash);
 pslWriteHead(f);
 while ((psl = pslNext(lf)) != NULL)
     {
     fragToCloneName(psl->tName, cloneName);
     if (!hashLookup(cutHash, cloneName))
 	{
         pslTabOut(psl, f);
 	}
     else
         ++cut;
     ++total;
     pslFree(&psl);
     }
 printf("Cut %d of %d\n", cut, total);
 }
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
 if (argc != 4)
     usage();
 pslCut(argv[1], argv[2], argv[3]);
 return 0;
 }