问题
If you do not know what Pipe Viewer is (I did not know about it until 5 minutes ago), then this blog does a good job giving a brief introduction to it with some examples. I write a lot of Perl Scripts as an ETL developer and a lot of times, the files that I work with take really long time to operate with (unzipping, moving, etc). Therefore, this tool would be awesome except I work in a Windows Environment. If anyone knows of a tool that gives you Progress of an operation running in the pipeline, please let me know as that would make my scripts that much more useful.
回答1:
I doubt such a tool exists for win32, but it should run on cygwin. But then again You probably don't use it :)
回答2:
I finally made it work on Cygwin environment though that is not answer for the original post.
--disable-nls
does the trick.
./configure --disable-nls
make
make test
cp pv /usr/bin
== by Kenji (k2) ==
回答3:
Cygwin has pv (Pipe Viewer) as an available package since I don't know when... but it is not installed by default.
- Download the Cygwin setup executablefrom the install page.
- While installing cygwin, you need to expressly search and mark for installation pv found in the Utils section.
If you have already installed cygwin, you can always add it later on by re-running the setup executable.
来源:https://stackoverflow.com/questions/504204/does-anyone-know-of-a-good-alternative-to-pipe-viewer-for-windows-platform