【文件属性】:
文件名称:tailcolor:'tail -F' 带有基于最近看到这条线的颜色反馈
文件大小:4KB
文件格式:ZIP
更新时间:2021-07-13 18:56:14
Python
安装:
pip install tailcolor --pre
要求:
需要神话,中士和祝福:
pip install fabulous
pip install blessings
pip install sarge
用法
Usage patterns:
tail -F [file to follow] | tailcolor
tail -F [file to follow] | tailflash
tail -F [file to follow] | tailrain
tail -F can be replaced with any command that provides stdout
已知的问题
与缓冲输出的问题:如果你是到一个文件中写,“stdbuf -oL -El [命令]”效果很好,如果你命令通过犯规是管道有行缓冲输出(例如tcpdump的有-l)
【文件预览】:
tailcolor-master
----setup.py(511B)
----.gitignore(164B)
----bin()
--------tailflash(78B)
--------tailcolor(164B)
--------tailrain(81B)
----tailcolor()
--------__init__.py(26B)
--------tailcolor.py(4KB)
----README.md(800B)