BSD 4_3_Net_2 release
[unix-history] / usr / src / usr.bin / pascal / tstpx / src / t16.p
CommitLineData
7dbf621a
C
1program Main(input, output);
2procedure copy(var inp, out: text);
3 var
4 c: char;
5 begin
6 while not eof(inp) do
7 begin
8 while not eoln(inp) do
9 begin
10 c := inp^;
11 out^ := c;
12 put(out);
13 get(inp);
14 end;
15 writeln;
16 get(inp);
17 end;
18 end;
19begin
20 copy(input, output);
21end.