如何获得linux实用程序tail的源代码? [英] How can I get the source code for the linux utility tail?
本文介绍了如何获得linux实用程序tail的源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
该命令确实非常有用,但是我可以在其中获取源代码以查看内部发生了什么.
this command is really very useful but where I can get the source code to see what is going on inside .
谢谢.
推荐答案
tail实用程序是Linux上coreutils的一部分.
The tail utility is part of the coreutils on linux.
- 源压缩包: ftp://ftp.gnu.org/gnu /coreutils/coreutils-7.4.tar.gz
- 源文件: http://git.savannah .gnu.org/cgit/coreutils.git/tree/src/tail.c
- Source tarball: ftp://ftp.gnu.org/gnu/coreutils/coreutils-7.4.tar.gz
- Source file: http://git.savannah.gnu.org/cgit/coreutils.git/tree/src/tail.c
我一直发现FreeBSD的源代码比gnu实用工具清晰得多.这是FreeBSD项目中的tail.c:
I've always found FreeBSD to have far clearer source code than the gnu utilities. So here's tail.c in the FreeBSD project:
这篇关于如何获得linux实用程序tail的源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文