|
|
1.1 ! root 1: /* @(#)flip.c 1.2 */ ! 2: #include <stdio.h> ! 3: #include <ctype.h> ! 4: ! 5: main() ! 6: { ! 7: char line[BUFSIZ], *pl, *gets(); ! 8: ! 9: while (pl = gets(line)) ! 10: { ! 11: while (*pl != ':') ! 12: ++pl; ! 13: *pl++ = '\0'; ! 14: while (isspace(*pl)) ! 15: ++pl; ! 16: printf("%s : %s\n", pl, line); ! 17: } ! 18: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.