6

colortail,让 tail 命令绚丽起来

 2 years ago
source link: https://blogread.cn/it/article/2605?f=hot1
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

    colorgcc, colormake, man, vim 等的彩色可能很多人都知道了,今天介绍 colortail,让 tail 命令也多彩起来。

    colortail 下载地址

    http://joakimandersson.se/projects/colortail/

    下载后 configure, make, make check, make install 就可以使用

    除了用 -k 选项指定色彩配置文件外,跟 tail 命令都一样。

    代码有些老,在新的 g++ 可能编译不了,主要是 iostream.h fstream.h 已经不存在,或者某些地方缺少头文件,很容易修正。

    详情参阅 README 文件

建议继续学习:

QQ技术交流群:445447336,欢迎加入!
扫一扫订阅我的微信号:IT技术博客大学习

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK