Subject: re: bin/33207: progress(1) w/ stdin: useless progress bar
To: None <gnats-bugs@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: netbsd-bugs
Date: 04/07/2006 06:05:59
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.