home *** CD-ROM | disk | FTP | other *** search
- /*
- * This takes a file with quotes delimited by a blank line (typically
- * a moriarty quote file) and turns it into a %% delimited file that
- * can be imported into a fortune database
- *
- * chuq von rospach
- */
-
- #include <stdio.h>
-
- main()
- {
- char line[BUFSIZ];
-
- while (gets(line))
- if (strlen(line))
- puts(line);
- else
- printf("%%%%\n");
- }
-