source:
tags/0.57/showflatfiledb.c
@
9
Last change on this file since 9 was 9, checked in by willem, 11 years ago | |
---|---|
File size: 208 bytes |
Line | |
---|---|
1 | #include <stdio.h> |
2 | int main() |
3 | { |
4 | int c; |
5 | int s=1; |
6 | while ((c=getchar())!=EOF) |
7 | { |
8 | if (c == 0) |
9 | { |
10 | if (s) putchar('\n'); |
11 | s=0; |
12 | } |
13 | else |
14 | { |
15 | putchar(c); |
16 | s=1; |
17 | } |
18 | } |
19 | } |
Note: See TracBrowser
for help on using the repository browser.