File:  [CSRG BSD Unix] / 43BSDTahoe / ucb / pascal / tstpx / src / t16.p
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

program Main(input, output);
procedure copy(var inp, out: text);
	var
		c: char;
	begin
		while not eof(inp) do
		begin
			while not eoln(inp) do
			begin
				c := inp^;
				out^ := c;
				put(out);
				get(inp);
			end;
			writeln;
			get(inp);
		end;
	end;
begin
	copy(input, output);
end.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.