On Thu, 4 Jan 2007, Steve Parker wrote:
> What does "progress" do? I can't find a source for it in the src
> tarball. I can see that it's going to take stdin and chuck it out to,
> presumably, ftpput.

Citing from the NetBSD progress(1) manpage:

NAME
      progress -- feed input to a command, displaying a progress bar

SYNOPSIS
      progress [-ez] [-f file] [-l length] [-p prefix] cmd [args ...]

DESCRIPTION
      The progress utility opens a pipe to cmd and feeds an input stream into
      it, while displaying a progress bar to standard output.  If no filename
      is specified, progress reads from standard input.  Where feasible,
      progress fstat(2)s the input to determine the length, so a time estimate
      can be calculated.

      If no length is specified or determined, progress simply displays a count
      of the data and the data rate.

See http://netbsd.gw.com/cgi-bin/man-cgi?progress for the full page.


> Does anybody have the source for "progress"?

It's part of NetBSD:
http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.bin/progress/


  - Hubert

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
g4u-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/g4u-help

Reply via email to