- 论坛徽章:
- 0
|
本帖最后由 gouven 于 2010-09-04 12:12 编辑
- ^L
- /* Print version and copyright information. */
- static void
- print_version (void)
- {
- printf ("hello (GNU %s) %s\n", PACKAGE, VERSION);
- /* xgettext: no-wrap */
- puts ("");
-
- /* It is important to separate the year from the rest of the message,
- as done here, to avoid having to retranslate the message when a new
- year comes around. */
- printf (_("\
- Copyright (C) %s Free Software Foundation, Inc.\n\
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n\
- This is free software: you are free to change and redistribute it.\n\
- There is NO WARRANTY, to the extent permitted by law.\n"),
- "2007");
- }
复制代码 代码摘自GNU hello-2.3/src/hello.c,请看第一行。 |
|