Re: Patch to implement progress in dd

"Alfred M. Szmidt" <[email protected]> Wed, 30 Apr 2003 14:13:09 +0200
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
   I'd be tempted to convert to using getopt, but I don't really know
   how that fits into fileutils, primarily from a portability
   standpoint...  I could write specific handling for the "--progres="
   option in main(), but do I require that it be the first option?
   Re-build argv/argc after searching for that option?  Search for it
   and then ignore it later on?

Converting to using getopt shouldn't cause any portability problems
since alot of programs in coreutils (merger of text-, sh- and
file-utils) already use getopt (if the configure script can't find
getopt in the C library, then it uses an internal version).

What would be nice is to add a --progress option to all file related
programs (cp, mv, rm, dd, etc).  Hmm... Maybe thats a project for next
weekend.