|
|
1.1 ! root 1: #ifndef lint ! 2: static char sccsid[] = "@(#)locpart.c 4.1 (Berkeley) 1/1/83"; ! 3: #endif ! 4: ! 5: main(argc,argv) ! 6: char *argv[]; ! 7: { ! 8: char *p; ! 9: for (p=argv[1]; *p; p++); ! 10: while (*p != '/') p--; ! 11: printf("%s\n", p+1); ! 12: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.