Re: Feature request: --progress option to wc(1)

2024-11-15 Thread Pádraig Brady
On 15/11/2024 15:40, Joakim Lindblad wrote: I'm often using 'wc' for stuff that takes a long time, e.g. 'tar -tf big.tar | wc -l' to count the files in an archive. Here I am lacking some intermediate feedback from the process. Does a "--progress" version of 'wc' exist? I am envisioning a contin

Re: Feature request: --progress option to wc(1)

2024-11-15 Thread Rob Landley
On 11/15/24 09:40, Joakim Lindblad wrote: I'm often using 'wc' for stuff that takes a long time, e.g. 'tar -tf big.tar | wc -l' to count the files in an archive. Here I am lacking some intermediate feedback from the process. tar -tv big.tar | pv | wc -l http://www.ivarch.com/programs/pv.shtml

Feature request: --progress option to wc(1)

2024-11-15 Thread Joakim Lindblad
I'm often using 'wc' for stuff that takes a long time, e.g. 'tar -tf big.tar | wc -l' to count the files in an archive. Here I am lacking some intermediate feedback from the process. Does a "--progress" version of 'wc' exist? I am envisioning a continuous count with a simple line-wise overwrite