当您在 GNU 系统上运行 'bc' 时,它会打印出以下文本:
~$ bc
bc 1.07.1
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
与其他几个 GNU 实用程序相比:
~$ gcc --version
gcc (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
和
~$ grep --version
grep (GNU grep) 3.3
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
和
~$ ls --version
ls (GNU coreutils) 8.30
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
bc 是否有任何理由以这种方式列出所有版权日期,而不仅仅是使用“Copyright 2017 Free Software Foundation, Inc.”?
bc
遵循推荐的 GNU 版权声明实践,其中包括列出每个出版年份,尽管此处的版权声明列出的年份比所见bc
版本(甚至包括dc
发行版)更多。其他工具仅列出上次发布的年份,使用gnulib 的
version_etc
功能,该功能仅打印 gnulib 中最后更新的年份。另请参阅版权声明必须在项目处于活动状态时定期更新?