A big part of my daily job is developing software for use on machines with different versions of the same software, like bash
, find
, and grep
. When encountering a feature which would be useful for example to simplify code, it is important to know whether this feature is available in the oldest installed tools. For critical stuff, it would also be useful to know whether this feature was new or has existed for years in the oldest installed tools.
What are quick ways to answer this authoritatively for Linux tools, especially the GNU Core Utils? Some possibilities in order of decreasing accuracy:
通常,有一个变更日志。事实上,这是 GPL 要求的(或其他“重要的更改通知”)!(至少,对于有多个贡献者的任何东西都是有效的 - 请参阅 GPLv2 第 2a 节。)
对于 GNU coreutils 包——以及直接来自 GNU 项目的几乎所有其他内容——这个文件绝对是第一个查看的地方,并且应该在 95% 的情况下回答你的问题。