Subject: re: bin/33207: progress(1) w/ stdin: useless progress bar
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: matthew green <mrg@eterna.com.au>
List: netbsd-bugs
Date: 04/06/2006 20:10:02
The following reply was made to PR bin/33207; it has been noted by GNATS.

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@netbsd.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,
	hubertf@NetBSD.org
Subject: re: bin/33207: progress(1) w/ stdin: useless progress bar 
Date: Fri, 07 Apr 2006 06:05:59 +1000

 why not just stat() the file fd and see if it works?  if you get
 a valid size back print the progress bar, otherwise don't.