Bo Borgerson wrote: > Hi, > > I've recently found myself wishing for an option in 'wc' that shows > progress during an invocation. I modified my local copy with the > changes in the attached patch to accept a '--progress' option. > > This patch is also available at git://repo.or.cz/coreutils/bo.git > > An example of behavior can be observed with the attached 'slowrite' program: > > $ ./slowrite 100000 | src/wc --progress > 100000 200000 800000 > > $ src/wc --progress <(./slowrite 100000 3) <(./slowrite 1000000 4) > 100000 200000 800000 /dev/fd/63 > 1000000 2000000 8000000 /dev/fd/62 > 1100000 2200000 8800000 total
Thanks Bo, I'm not sure this is generally that useful. It reminds me of the more general pv tool that I have found useful in the past: http://www.ivarch.com/programs/quickref/pv.shtml cheers, Pádraig. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils