summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTony Abou-Assaleh <taa@acm.org>2008-02-14 04:03:39 +0000
committerTony Abou-Assaleh <taa@acm.org>2008-02-14 04:03:39 +0000
commit27de5c9dfb962754b789eec8828aac6bead3ac20 (patch)
tree2e627496df84c2fb2d47a2471f0fb77254035b5e /src
parent13efee878aec6e1e7f6df819dabdfba7fec3ffe7 (diff)
downloadgrep-27de5c9dfb962754b789eec8828aac6bead3ac20.tar.gz
* src/grep.c: Factor out copyright year in --version. Thanks to
Karl Berry for this. * src/grep.c: Update copyright years * src/grep.c: Factor out copyright year in --version. Thanks to Karl Berry for this. * src/grep.c: Update copyright years
Diffstat (limited to 'src')
-rw-r--r--src/grep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/grep.c b/src/grep.c
index 9ea0b702..4363b4a2 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -1,6 +1,6 @@
/* grep.c - main driver file for grep.
Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004,
- 2005 Free Software Foundation, Inc.
+ 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -2182,11 +2182,11 @@ main (int argc, char **argv)
{
printf ("%s\n\n", PACKAGE_STRING);
printf (_("\
-Copyright (C) 2008 Free Software Foundation, Inc.\n"));
- 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"));
+There is NO WARRANTY, to the extent permitted by law.\n"),
+ "2008");
printf ("\n");
exit (0);
}