Does anyone know of a good alternative to Pipe Viewer for Windows Platform?

安稳与你 提交于 2019-12-09 04:51:51

问题


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.

  1. Download the Cygwin setup executablefrom the install page.
  2. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!