update/add copyright notices

This commit is contained in:
Karl Berry 2009-01-30 01:46:02 +00:00
parent e7365ed753
commit e93a3ad5c4
56 changed files with 3507 additions and 2949 deletions

1638
ABOUT-NLS

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,10 @@
Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004,
2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
Mike Haertel wrote the main program and the dfa and kwset matchers.
Arthur David Olson contributed the heuristics for finding fixed substrings
@ -43,6 +50,6 @@ Alain Magloire maintained GNU grep until version 2.5e.
Bernhard "Bero" Rosenkränzer <bero@arklinux.org> maintained GNU grep until
version 2.5.1, ie. from Sep 2001 till 2003.
Stepan Kasal <kasal@ucw.cz> maintains GNU grep since Feb 2004.
Stepan Kasal <kasal@ucw.cz> maintained GNU grep since Feb 2004.
Tony Abou-Assaleh <taa@acm.org> maintains GNU grep since Oct 2007.

4316
ChangeLog

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,21 @@
## Process this file with automake to create Makefile.in
# Process this file with automake to create Makefile.in
#
# Copyright 1997, 1998, 2005, 2006, 2007, 2008, 2009 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
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
AUTOMAKE_OPTIONS = no-dependencies
SUBDIRS = intl po lib doc src tests m4 vms bootstrap

7
NEWS
View File

@ -1,3 +1,10 @@
Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004,
2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
Version 2.5.4
- This is a bugfix release. No new features.

7
README
View File

@ -1,3 +1,10 @@
Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004,
2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
This is GNU grep, the "fastest grep in the west" (we hope). All
bugs reported in previous releases have been fixed. Many exciting new
bugs have probably been introduced in this revision.

View File

@ -1,6 +1,13 @@
Newer, ALPHA (i.e., unstable) versions of this code are available in CVS
on Savannah. See <http://savannah.gnu.org/cvs/?group=grep> for details.
The main project page is at <http://savannah.gnu.org/projects/grep/>.
Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004,
2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
The development source code is available via CVS from Savannah: see
<http://savannah.gnu.org/cvs/?group=grep>. The main project page is at
<http://savannah.gnu.org/projects/grep/>.
The source code in the CVS uses autotools to generate some files. Before
following the instructions in the INSTALL file for compiling grep, you
@ -8,7 +15,7 @@ need to run the autogen.sh script. If you don't have the autotools
installed on your system, you can download a CVS release file (generated
with `make dist') from <http://www.dal-acm.ca/~taa/grep/>.
Official test releases are available at <http://alpha.gnu.org/gnu/grep/>.
Test releases are available at <http://alpha.gnu.org/gnu/grep/>.
Please submit bug reports to <bug-grep@gnu.org>.

View File

@ -1,3 +1,10 @@
Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004,
2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
GREP DJGPP README
=================

9
THANKS
View File

@ -1,3 +1,10 @@
Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004,
2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
Aharon Robbins <arnold@gnu.org>
Akim Demaille <akim@epita.fr>
Alain Magloire <alainm@gnu.org>
@ -35,7 +42,7 @@ John Hughes <john@nitelite.calvacom.fr>
Jorge Stolfi <stolfi@dcc.unicamp.br>
Juan Manuel Guerrero <ST001906@HRZ1.HRZ.TU-Darmstadt.De>
Julian Foad <julianfoad@btopenworld.com>
Karl Berry <karl@cs.umb.edu>
Karl Berry <karl@gnu.org>
Karl Heuer <kwzh@gnu.org>
Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
Kazuro Furukawa <furukawa@apricot.kek.jp>

13
TODO
View File

@ -1,3 +1,10 @@
Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004,
2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
Get sane performance with UTF-8 locales.
1) rewrite the configure.in script, perhaps also Makefile.am
@ -11,8 +18,8 @@ Get sane performance with UTF-8 locales.
##
Write Texinfo documentation for grep. The manual page would be a good
place to start, but Info documents are also supposed to contain a
Write better Texinfo documentation for grep. The manual page would be a
good place to start, but Info documents are also supposed to contain a
tutorial and examples.
Fix the DFA matcher to never use exponential space. (Fortunately, these
@ -36,7 +43,7 @@ Threads for grep ?
GNU grep does 32 bits arithmetic, it needs to move to 64.
Clean up, to many #ifdef's !!
Clean up, too many #ifdef's !!
Check some new Algorithms for matching, talk to Karl Berry and Nelson.
Sunday's "Quick Search" Algorithm (CACM 33, 8 August 1990 pp. 132-142)

View File

@ -1,4 +1,19 @@
#! /bin/sh
# Copyright 1997, 1998, 2005, 2006, 2007, 2008, 2009 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
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
chmod +x tests/*.sh # fix a bug in CVS

View File

@ -1,4 +1,19 @@
## Process this file with automake to create Makefile.in
# Copyright 1997, 1998, 2005, 2006, 2007, 2008, 2009 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
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
AUTOMAKE_OPTIONS = no-dependencies
EXTRA_DIST = Makefile.try README

View File

@ -1,4 +1,18 @@
# Copyright 1997, 1998, 2005, 2006, 2007, 2008, 2009 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
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Define for DOS/WIN (not including DJGPP):
#OBJEXT = obj

View File

@ -1,4 +1,9 @@
#
Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004,
2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
If your system is lacking the necessary tools to build the configuration,
Makefile.try is provided for bootstraping. Move Makefile.try to

View File

@ -2,23 +2,25 @@ dnl
dnl autoconf input file for ``GNU grep''
dnl
dnl Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
dnl 2005, 2006 the Free Software Foundation, Inc.
dnl 2005, 2006, 2009 the Free Software Foundation, Inc.
dnl
dnl This file is part of GNU grep.
dnl
dnl GNU grep is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 2 of the License, or
dnl (at your option) any later version.
dnl Copyright 1997, 1998, 2005, 2006, 2007, 2008, 2009 Free Software
dnl Foundation, Inc.
dnl
dnl GNU grep is distributed in the hope that it will be useful,
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 3, or (at your option)
dnl any later version.
dnl
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License along
dnl with this program; if not, write to the Free Software Foundation, Inc.,
dnl 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
dnl You should have received a copy of the GNU General Public License
dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
dnl
dnl Authors:
dnl Alain Magloire <alainm@gnu.org>
@ -167,4 +169,7 @@ if test x"$testpcre" = x"yes"; then
AC_CHECK_LIB(pcre, pcre_exec)
fi
AC_OUTPUT(Makefile lib/Makefile lib/posix/Makefile src/Makefile tests/Makefile po/Makefile.in intl/Makefile doc/Makefile m4/Makefile vms/Makefile bootstrap/Makefile, [sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile; echo timestamp > stamp-h])
AC_OUTPUT(Makefile lib/Makefile lib/posix/Makefile src/Makefile
tests/Makefile po/Makefile.in intl/Makefile doc/Makefile m4/Makefile
vms/Makefile bootstrap/Makefile, [sed -e "/POTFILES =/r po/POTFILES"
po/Makefile.in > po/Makefile; echo timestamp > stamp-h])

View File

@ -1,7 +1,7 @@
# Process this file with automake to create Makefile.in
# Makefile.am for grep/doc.
#
# Copyright 2008 Free Software Foundation, Inc.
# Copyright 2008, 2009 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

View File

@ -16,8 +16,8 @@
@copying
This manual is for @command{grep}, a pattern matching engine.
Copyright @copyright{} 1999, 2000, 2001, 2002, 2005, 2008 Free Software
Foundation, Inc.
Copyright @copyright{} 1999, 2000, 2001, 2002, 2005, 2008, 2009 Free
Software Foundation, Inc.
@quotation
Permission is granted to copy, distribute and/or modify this document
@ -53,6 +53,8 @@ Texts. A copy of the license is included in the section entitled
@command{grep} prints lines that match a pattern.
This manual is for version @value{VERSION} of GNU Grep.
@insertcopying
@end ifnottex
@menu

View File

@ -1,3 +1,18 @@
# Copyright 1997, 1998, 2005, 2006, 2007, 2008, 2009 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
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
AUTOMAKE_OPTIONS = ../src/ansi2knr

View File

@ -1,4 +1,20 @@
## Process this file with automake to create Makefile.in
# Copyright 1997, 1998, 2005, 2006, 2007, 2008, 2009 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
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
AUTOMAKE_OPTIONS = no-dependencies
EXTRA_DIST = decl.m4 \

View File

@ -1,7 +0,0 @@
1999-02-10 Alain Magloire
* update from ftp.iro.umontreal.
---------
* got a basic set of *.po from Franc,ois Pinard
ftp.iro.umontreal.ca

View File

@ -1,4 +1,20 @@
# List of files which containing translatable strings.
#
# Copyright 1997, 1998, 2005, 2006, 2007, 2008, 2009 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
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
src/dfa.c
src/kwset.c

View File

@ -1,4 +1,20 @@
## Process this file with automake to create Makefile.in
# Copyright 1997, 1998, 2005, 2006, 2007, 2008, 2009 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
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
AUTOMAKE_OPTIONS = ansi2knr
LN = ln

View File

@ -1,5 +1,5 @@
/* dfa.h - declarations for GNU deterministic regexp compiler
Copyright (C) 1988, 1998 Free Software Foundation, Inc.
Copyright (C) 1988, 1998, 2007, 2009 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

View File

@ -1,3 +1,22 @@
/* dosbuf.c
Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004,
2005, 2006, 2007, 2008, 2009 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
the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
/* Messy DOS-specific code for correctly treating binary, Unix text
and DOS text files.

View File

@ -1,4 +1,22 @@
/* Emulate getpagesize on systems that lack it. */
/* Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004,
2005, 2006, 2007, 2008, 2009 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
the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
#ifndef HAVE_GETPAGESIZE

View File

@ -1,5 +1,5 @@
/* grep.h - interface to grep driver for searching subroutines.
Copyright (C) 1992, 1998, 2001 Free Software Foundation, Inc.
Copyright (C) 1992, 1998, 2001, 2007, 2009 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

View File

@ -1,5 +1,5 @@
/* kwset.c - search for any of a set of keywords.
Copyright (C) 1989, 1998, 2000, 2005, 2009
Copyright (C) 1989, 1998, 2000, 2005, 2007, 2009
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify

View File

@ -1,5 +1,5 @@
/* kwset.h - header declaring the keyword set library.
Copyright (C) 1989, 1998, 2005 Free Software Foundation, Inc.
Copyright (C) 1989, 1998, 2005, 2007, 2009 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

View File

@ -1,6 +1,6 @@
/* mbsupport.h --- Localize determination of whether we have multibyte stuff.
Copyright (C) 2004, 2005 Free Software Foundation, Inc.
Copyright (C) 2004, 2005, 2007, 2009 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

View File

@ -1,5 +1,5 @@
/* search.c - searching subroutines using dfa, kwset and regex for grep.
Copyright 1992, 1998, 2000 Free Software Foundation, Inc.
Copyright 1992, 1998, 2000, 2007, 2009 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

View File

@ -1,5 +1,5 @@
/* Portability cruft. Include after config.h and sys/types.h.
Copyright 1996, 1998, 1999, 2000 Free Software Foundation, Inc.
Copyright 1996, 1998, 1999, 2000, 2007, 2009 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

View File

@ -1,4 +1,22 @@
/*
Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004,
2005, 2006, 2007, 2008, 2009 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
the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
<vms_fab>
This macro sets up the file access block and name block for VMS.

View File

@ -1,4 +1,22 @@
/*
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004,
2005, 2006, 2007, 2008, 2009 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
the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
This file includes the setup for the file access block for VMS.
Written by Phillip C. Brisco 8/98.
*/

View File

@ -1,4 +1,19 @@
## Process this file with automake to create Makefile.in
# Copyright 1997, 1998, 2005, 2006, 2007, 2008, 2009 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
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
AWK=@AWK@

View File

@ -1,6 +1,11 @@
#! /bin/sh
# Test for backreferences and other things.
#
# Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
: ${srcdir=.}

View File

@ -1,3 +1,9 @@
# Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
BEGIN {
FS="@";
n = 0;

View File

@ -1,5 +1,10 @@
#! /bin/sh
# Regression test for GNU grep.
# Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
: ${srcdir=.}

View File

@ -1,6 +1,12 @@
#! /bin/sh
# test that the empty file means no pattern
# and an empty pattern means match all.
#
# Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
: ${srcdir=.}

View File

@ -1,3 +1,9 @@
# Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
BEGIN {
FS="@";
n = 0;

View File

@ -1,5 +1,11 @@
#! /bin/sh
# Regression test for GNU grep.
#
# Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
: ${srcdir=.}

View File

@ -1,10 +1,14 @@
#! /bin/sh
# Test for POSIX.2 options for grep
#
# Test for POSIX.2 options for grep:
# grep -E -f pattern_file file
# grep -F -f pattern_file file
# grep -G -f pattern_file file
#
# Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
: ${srcdir=.}

View File

@ -1,4 +1,9 @@
#! /bin/sh
# Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
: ${srcdir=.}

View File

@ -1,5 +1,12 @@
#! /bin/sh
# Test various combinations of command-line options.
#
# Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
#
# This set of tests was started by Julian Foad.
: ${GREP=../src/grep}

View File

@ -1,5 +1,11 @@
#! /bin/sh
# Regression test for GNU grep.
#
# Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
: ${srcdir=.}
: ${GREP=../src/grep}

View File

@ -1,12 +1,17 @@
#! /bin/sh
# Test for POSIX.2 options for grep
#
# Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
#
# grep [ -E| -F][ -c| -l| -q ][-insvx] -e pattern_list
# [-f pattern_file] ... [file. ..]
# grep [ -E| -F][ -c| -l| -q ][-insvx][-e pattern_list]
# -f pattern_file ... [file ...]
# grep [ -E| -F][ -c| -l| -q ][-insvx] pattern_list [file...]
#
: ${srcdir=.}

View File

@ -1,5 +1,11 @@
#! /bin/sh
# Regression test for GNU grep.
#
# Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
: ${GREP=../src/grep}

View File

@ -1,3 +1,10 @@
# Copyright (C) 1988 Henry Spencer.
# Copyright (C) 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
BEGIN {
FS = "@";
printf ("failures=0\n");

View File

@ -1,5 +1,11 @@
#! /bin/sh
# Regression test for GNU grep.
# Copyright (C) 1988 Henry Spencer.
# Copyright (C) 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
: ${srcdir=.}

View File

@ -1,5 +1,12 @@
#! /bin/sh
# Regression test for GNU grep.
#
# Copyright (C) 1988 Henry Spencer.
# Copyright (C) 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
: ${srcdir=.}

View File

@ -4,6 +4,12 @@
# 0 match found
# 1 no match
# 2 file not found
#
# Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
: ${srcdir=.}

View File

@ -1,4 +1,11 @@
# regular expression test set
#
# Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
#
# Lines are at least three fields, separated by one or more tabs. "" stands
# for an empty field. First field is an RE. Second field is flags. If
# C flag given, regcomp() is expected to fail, and the third field is the

View File

@ -1,6 +1,11 @@
#! /bin/sh
#
# Tell them not to be alarmed.
#
# Copyright (C) 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
: ${srcdir=.}

View File

@ -1,5 +1,12 @@
#! /bin/sh
# Test feature interaction of -C, -v, -o, and -m.
#
# Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
#
# This set of tests was started by Charles Levert.
: ${GREP=../src/grep}

View File

@ -1,4 +1,19 @@
## Process this file with automake to create Makefile.in
# Copyright 1997, 1998, 2005, 2006, 2007, 2008, 2009 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
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
AUTOMAKE_OPTIONS = no-dependencies
EXTRA_DIST = README make.com config_vms.h

View File

@ -1,3 +1,10 @@
Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004,
2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
** VMS
Warning: untested

View File

@ -1,5 +1,23 @@
/* Configuration file for OpenVMS */
/* Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004,
2005, 2006, 2007, 2008, 2009 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
the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
#define HAVE_STRING_H 1
#define HAVE_MEMCHAR