Annotation of 3BSD/cmd/uudiff/trim.c, revision 1.1.1.1

1.1       root        1: # if interdata
                      2: # include "stdio.h"
                      3: # endif
                      4: main(argc,argv)
                      5:        char *argv[];
                      6: {
                      7: char *nm, *p;
                      8: p = nm = argv[1];
                      9: while (*p) p++;
                     10: while (*p != '/') p--;
                     11: if (p==nm) p++;
                     12: *p = 0;
                     13: printf("%s\n", nm);
                     14: exit(0);
                     15: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.