|
|
1.1 ! root 1: #include <stdio.h> ! 2: extern char *strchr(); ! 3: main() ! 4: { ! 5: char s[100], *t; ! 6: while(fgets(s,sizeof s,stdin)) { ! 7: t = strchr(s, '\n'); ! 8: if(t) *t = 0; ! 9: if(access(s,04)==0 && access(s,01)==-1) ! 10: puts(s); ! 11: } ! 12: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.