Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site ccice1.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!rochester!ritcv!ccice5!ccice1!rrw
From: rrw@ccice1.UUCP (Rick Wessman)
Newsgroups: net.bugs.usg
Subject: Possible bug in pg(1)
Message-ID: <369@ccice1.UUCP>
Date: Wed, 2-Oct-85 19:49:06 EDT
Article-I.D.: ccice1.369
Posted: Wed Oct  2 19:49:06 1985
Date-Received: Sat, 5-Oct-85 07:15:03 EDT
Distribution: na
Organization: CCI Central Engineering, Rochester, NY
Lines: 24

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