|
|
1.1 ! root 1: #include <stdio.h> ! 2: ! 3: main () ! 4: ! 5: { ! 6: int copy = 0; ! 7: char c; ! 8: ! 9: while (1) { ! 10: if ((c= getchar ()) == ':') ! 11: copy=1; ! 12: ! 13: else if (copy) { ! 14: if ( c == ' ') ! 15: continue; ! 16: if (c == '*') ! 17: { ! 18: copy=0; ! 19: putchar ('\n'); ! 20: continue; ! 21: } ! 22: else putchar (c); ! 23: } ! 24: ! 25: } ! 26: } ! 27:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.