BSD 3 development
[unix-history] / usr / src / cmd / uudiff / trim.c
# if interdata
# include "stdio.h"
# endif
main(argc,argv)
char *argv[];
{
char *nm, *p;
p = nm = argv[1];
while (*p) p++;
while (*p != '/') p--;
if (p==nm) p++;
*p = 0;
printf("%s\n", nm);
exit(0);
}