[net.bugs.usg] Possible bug in pg

rrw@ccice1.UUCP (Rick Wessman) (10/03/85)

I'm having a problem with pg (Sys Vr2) for which I hope someone has a
fix.

Pg works fine when I run it with an input file or redirected from
a file, as in:
		pg some_file
		pg < some_file

The problem appears when I try to use pg as a filter as in:
		cat some_file | pg
			or:
		grep pattern some_file | pg

Pg produces only the last line of the output of the command repeated
for the number of the lines that are in the output of the command.
For example, if there are 25 lines in the output of the command, the
last line is repeated 25 times.

Has anybody out there ever experienced this problem, and if so, is
there a fix for it?

			Thanks,
				Rick Wessman
				..!seismo!rochester!ccice5!ccice1!rrw