bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch to implement progress in dd


From: Alfred M. Szmidt
Subject: Re: Patch to implement progress in dd
Date: Wed, 30 Apr 2003 14:13:09 +0200

   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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]