mirror of
https://https.git.savannah.gnu.org/git/grep.git
synced 2026-01-26 15:39:06 +00:00
maint: update gnulib and copyright dates for 2018
* gnulib: Update to latest. * all files: Run "make update-copyright". * bootstrap: Update from gnulib.
This commit is contained in:
parent
e3c0287a56
commit
e8feb1ce5c
2
AUTHORS
2
AUTHORS
@ -1,4 +1,4 @@
|
||||
Copyright (C) 1992, 1997-2002, 2004-2017 Free Software Foundation, Inc.
|
||||
Copyright (C) 1992, 1997-2002, 2004-2018 Free Software Foundation, Inc.
|
||||
|
||||
Copying and distribution of this file, with or without modification,
|
||||
are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -3648,6 +3648,6 @@
|
||||
|
||||
* Version 2.0 released.
|
||||
|
||||
Copyright (C) 1998-2017 Free Software Foundation, Inc.
|
||||
Copyright (C) 1998-2018 Free Software Foundation, Inc.
|
||||
Copying and distribution of this file, with or without modification,
|
||||
are permitted provided the copyright notice and this notice are preserved.
|
||||
|
||||
2
HACKING
2
HACKING
@ -598,7 +598,7 @@ Then just open the index.html file (in the generated lcov-html directory)
|
||||
in your favorite web browser.
|
||||
|
||||
========================================================================
|
||||
Copyright (C) 2009-2017 Free Software Foundation, Inc.
|
||||
Copyright (C) 2009-2018 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# Process this file with automake to create Makefile.in
|
||||
#
|
||||
# Copyright 1997-1998, 2005-2017 Free Software Foundation, Inc.
|
||||
# Copyright 1997-1998, 2005-2018 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
|
||||
|
||||
2
NEWS
2
NEWS
@ -1121,7 +1121,7 @@ necessary to track the evolution of the regex package, and since
|
||||
I was changing it anyway I decided to do a general cleanup.
|
||||
|
||||
========================================================================
|
||||
Copyright (C) 1992, 1997-2002, 2004-2017 Free Software Foundation, Inc.
|
||||
Copyright (C) 1992, 1997-2002, 2004-2018 Free Software Foundation, Inc.
|
||||
|
||||
Copying and distribution of this file, with or without modification,
|
||||
are permitted in any medium without royalty provided the copyright
|
||||
|
||||
2
README
2
README
@ -1,4 +1,4 @@
|
||||
Copyright (C) 1992, 1997-2002, 2004-2017 Free Software Foundation, Inc.
|
||||
Copyright (C) 1992, 1997-2002, 2004-2018 Free Software Foundation, Inc.
|
||||
|
||||
Copying and distribution of this file, with or without modification,
|
||||
are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
Copyright (C) 1992, 1997-2002, 2004-2017 Free Software Foundation, Inc.
|
||||
Copyright (C) 1992, 1997-2002, 2004-2018 Free Software Foundation, Inc.
|
||||
|
||||
Copying and distribution of this file, with or without modification,
|
||||
are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -67,7 +67,7 @@ reporting address of this package, and not to that of gnulib, even
|
||||
if the problem seems to originate in a gnulib-provided file.
|
||||
-----
|
||||
|
||||
Copyright (C) 2002-2017 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002-2018 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
|
||||
|
||||
2
TODO
2
TODO
@ -1,6 +1,6 @@
|
||||
Things to do for GNU grep
|
||||
|
||||
Copyright (C) 1992, 1997-2002, 2004-2017 Free Software Foundation, Inc.
|
||||
Copyright (C) 1992, 1997-2002, 2004-2018 Free Software Foundation, Inc.
|
||||
|
||||
Copying and distribution of this file, with or without modification,
|
||||
are permitted in any medium without royalty provided the copyright
|
||||
|
||||
12
bootstrap
12
bootstrap
@ -1,10 +1,10 @@
|
||||
#! /bin/sh
|
||||
# Print a version string.
|
||||
scriptversion=2017-01-09.19; # UTC
|
||||
scriptversion=2017-09-19.08; # UTC
|
||||
|
||||
# Bootstrap this package from checked-out sources.
|
||||
|
||||
# Copyright (C) 2003-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2003-2018 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
|
||||
@ -17,7 +17,7 @@ scriptversion=2017-01-09.19; # UTC
|
||||
# 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/>.
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Originally written by Paul Eggert. The canonical version of this
|
||||
# script is maintained as build-aux/bootstrap in gnulib, however, to
|
||||
@ -141,7 +141,7 @@ po_download_command_format=\
|
||||
# Fallback for downloading .po files (if rsync fails).
|
||||
po_download_command_format2=\
|
||||
"wget --mirror -nd -q -np -A.po -P '%s' \
|
||||
http://translationproject.org/latest/%s/"
|
||||
https://translationproject.org/latest/%s/"
|
||||
|
||||
# Prefer a non-empty tarname (4th argument of AC_INIT if given), else
|
||||
# fall back to the package name (1st argument with munging)
|
||||
@ -699,7 +699,7 @@ download_po_files() {
|
||||
echo "$me: getting translations into $subdir for $domain..."
|
||||
cmd=$(printf "$po_download_command_format" "$domain" "$subdir")
|
||||
eval "$cmd" && return
|
||||
# Fallback to HTTP.
|
||||
# Fallback to HTTPS.
|
||||
cmd=$(printf "$po_download_command_format2" "$subdir" "$domain")
|
||||
eval "$cmd"
|
||||
}
|
||||
@ -792,7 +792,7 @@ symlink_to_dir()
|
||||
# aren't confused into doing unnecessary builds. Conversely, if the
|
||||
# existing symlink's timestamp is older than the source, make it afresh,
|
||||
# so that broken tools aren't confused into skipping needed builds. See
|
||||
# <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00326.html>.
|
||||
# <https://lists.gnu.org/r/bug-gnulib/2011-05/msg00326.html>.
|
||||
test -h "$dst" &&
|
||||
src_ls=$(ls -diL "$src" 2>/dev/null) && set $src_ls && src_i=$1 &&
|
||||
dst_ls=$(ls -diL "$dst" 2>/dev/null) && set $dst_ls && dst_i=$1 &&
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# Bootstrap configuration.
|
||||
|
||||
# Copyright (C) 2006-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2006-2018 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
|
||||
|
||||
2
cfg.mk
2
cfg.mk
@ -1,5 +1,5 @@
|
||||
# Customize maint.mk -*- makefile -*-
|
||||
# Copyright (C) 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2009-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
dnl
|
||||
dnl autoconf input file for GNU grep
|
||||
dnl
|
||||
dnl Copyright (C) 1997-2006, 2009-2017 Free Software Foundation, Inc.
|
||||
dnl Copyright (C) 1997-2006, 2009-2018 Free Software Foundation, Inc.
|
||||
dnl
|
||||
dnl This file is part of GNU grep.
|
||||
dnl
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# Process this file with automake to create Makefile.in
|
||||
# Makefile.am for grep/doc.
|
||||
#
|
||||
# Copyright 2008-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2008-2018 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
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
@copying
|
||||
This manual is for @command{grep}, a pattern matching engine.
|
||||
|
||||
Copyright @copyright{} 1999-2002, 2005, 2008-2017 Free Software Foundation,
|
||||
Copyright @copyright{} 1999-2002, 2005, 2008-2018 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
@quotation
|
||||
|
||||
2
gnulib
2
gnulib
@ -1 +1 @@
|
||||
Subproject commit efec5175a65f44f7509e58443bce98efa0916ad2
|
||||
Subproject commit 16fc1cdc25991b996e454254ca1365f966d00a59
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1997-1998, 2005-2017 Free Software Foundation, Inc.
|
||||
# Copyright 1997-1998, 2005-2018 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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* Output colorization.
|
||||
Copyright 2011-2017 Free Software Foundation, Inc.
|
||||
Copyright 2011-2018 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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* Output colorization on MS-Windows.
|
||||
Copyright 2011-2017 Free Software Foundation, Inc.
|
||||
Copyright 2011-2018 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
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
/* Output colorization.
|
||||
|
||||
Copyright 2011-2017 Free Software Foundation, Inc.
|
||||
Copyright 2011-2018 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)
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# pcre.m4 - check for libpcre support
|
||||
|
||||
# Copyright (C) 2010-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2010-2018 Free Software Foundation, Inc.
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# List of files which containing translatable strings.
|
||||
#
|
||||
# Copyright 1997-1998, 2005-2017 Free Software Foundation, Inc.
|
||||
# Copyright 1997-1998, 2005-2018 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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
# Copyright 1997-1998, 2005-2017 Free Software Foundation, Inc.
|
||||
# Copyright 1997-1998, 2005-2018 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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* dfasearch.c - searching subroutines using dfa and regex for grep.
|
||||
Copyright 1992, 1998, 2000, 2007, 2009-2017 Free Software Foundation, Inc.
|
||||
Copyright 1992, 1998, 2000, 2007, 2009-2018 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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* Report an error and exit.
|
||||
Copyright 2016-2017 Free Software Foundation, Inc.
|
||||
Copyright 2016-2018 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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* grep.c - main driver file for grep.
|
||||
Copyright (C) 1992, 1997-2002, 2004-2017 Free Software Foundation, Inc.
|
||||
Copyright (C) 1992, 1997-2002, 2004-2018 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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* grep.h - interface to grep driver for searching subroutines.
|
||||
Copyright (C) 1992, 1998, 2001, 2007, 2009-2017 Free Software Foundation,
|
||||
Copyright (C) 1992, 1998, 2001, 2007, 2009-2018 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* kwsearch.c - searching subroutines using kwset for grep.
|
||||
Copyright 1992, 1998, 2000, 2007, 2009-2017 Free Software Foundation, Inc.
|
||||
Copyright 1992, 1998, 2000, 2007, 2009-2018 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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* kwset.c - search for any of a set of keywords.
|
||||
Copyright (C) 1989, 1998, 2000, 2005, 2007, 2009-2017 Free Software
|
||||
Copyright (C) 1989, 1998, 2000, 2005, 2007, 2009-2018 Free Software
|
||||
Foundation, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* kwset.h - header declaring the keyword set library.
|
||||
Copyright (C) 1989, 1998, 2005, 2007, 2009-2017 Free Software Foundation,
|
||||
Copyright (C) 1989, 1998, 2005, 2007, 2009-2018 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* pcresearch.c - searching subroutines using PCRE for grep.
|
||||
Copyright 2000, 2007, 2009-2017 Free Software Foundation, Inc.
|
||||
Copyright 2000, 2007, 2009-2018 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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* search.c - searching subroutines using dfa, kwset and regex for grep.
|
||||
Copyright 1992, 1998, 2000, 2007, 2009-2017 Free Software Foundation, Inc.
|
||||
Copyright 1992, 1998, 2000, 2007, 2009-2018 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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* searchutils.c - helper subroutines for grep's matchers.
|
||||
Copyright 1992, 1998, 2000, 2007, 2009-2017 Free Software Foundation, Inc.
|
||||
Copyright 1992, 1998, 2000, 2007, 2009-2018 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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* Portability cruft. Include after config.h and sys/types.h.
|
||||
Copyright 1996, 1998-2000, 2007, 2009-2017 Free Software Foundation, Inc.
|
||||
Copyright 1996, 1998-2000, 2007, 2009-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
package Coreutils;
|
||||
# This is a testing framework.
|
||||
|
||||
# Copyright (C) 1998-2015, 2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1998-2015, 2017-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
package CuSkip;
|
||||
# Skip a test: emit diag to log and to stderr, and exit 77
|
||||
|
||||
# Copyright (C) 2011-2015, 2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2011-2015, 2017-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
package CuTmpdir;
|
||||
# create, then chdir into a temporary sub-directory
|
||||
|
||||
# Copyright (C) 2007-2015, 2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2007-2015, 2017-2018 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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
# Copyright 1997-1998, 2005-2017 Free Software Foundation, Inc.
|
||||
# Copyright 1997-1998, 2005-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Test for backreferences and other things.
|
||||
#
|
||||
# Copyright (C) 2001, 2006, 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2001, 2006, 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Test for a bug in glibc's regex code as of 2015-09-19.
|
||||
#
|
||||
# Copyright 2015-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2015-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Ensure that \s and \S work with repetition operators.
|
||||
#
|
||||
# Copyright (C) 2013-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2013-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Ensure that neither \s nor \S matches an invalid multibyte character.
|
||||
#
|
||||
# Copyright (C) 2013-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2013-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Regression test for GNU grep.
|
||||
#
|
||||
# Copyright (C) 2001, 2006, 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2001, 2006, 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2001, 2006, 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2001, 2006, 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Regression test for GNU grep.
|
||||
#
|
||||
# Copyright 2016-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2016-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Check that case folding works even with titlecase and similarly odd chars.
|
||||
|
||||
# Copyright 2014-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2014-2018 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
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# Test that newline is counted correctly even when the transition
|
||||
# table is rebuilt.
|
||||
|
||||
# Copyright 2014-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2014-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Exercise the final reachable code in dfa.c's match_mb_charset.
|
||||
|
||||
# Copyright (C) 2012-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2012-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Trigger a heap overrun in grep-2.6..grep-2.8.
|
||||
|
||||
# Copyright (C) 2011-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2011-2018 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
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# test that the empty file means no pattern
|
||||
# and an empty pattern means match all.
|
||||
#
|
||||
# Copyright (C) 2001, 2006, 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2001, 2006, 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Exercise bugs in grep-2.13 with -i, -n and an RE of ^$ in a multi-byte locale.
|
||||
#
|
||||
# Copyright (C) 2012-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2012-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Test grep's behavior on encoding errors.
|
||||
#
|
||||
# Copyright 2015-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2015-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# -*- sh -*-
|
||||
# Check environment variables for sane values while testing.
|
||||
|
||||
# Copyright (C) 2000-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2000-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Regression test for GNU grep.
|
||||
#
|
||||
# Copyright (C) 2001, 2006, 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2001, 2006, 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2001, 2006, 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2001, 2006, 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Test for false matches in grep 2.19..2.26 in multibyte, non-UTF8 locales
|
||||
#
|
||||
# Copyright (C) 2016-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2016-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# With multiple matches, grep -Fo could print a shorter one.
|
||||
# This bug affected grep versions 2.26 through 2.27.
|
||||
#
|
||||
# Copyright (C) 2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2017-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
# grep -F -f pattern_file file
|
||||
# grep -G -f pattern_file file
|
||||
#
|
||||
# Copyright (C) 2001, 2006, 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2001, 2006, 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
# file or line number from which the offending regular expression came.
|
||||
# With 2.26, now, each such diagnostic has a "FILENAME:LINENO: " prefix.
|
||||
|
||||
# Copyright (C) 2016-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2016-2018 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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# Copyright (C) 2001, 2006, 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2001, 2006, 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Test various combinations of command-line options.
|
||||
#
|
||||
# Copyright (C) 2001, 2006, 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2001, 2006, 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* Auxiliary program to detect support for a locale.
|
||||
Copyright 2010-2017 Free Software Foundation, Inc.
|
||||
Copyright 2010-2018 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
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# Make sure all of these programs work properly
|
||||
# when invoked with --help or --version.
|
||||
|
||||
# Copyright (C) 2000-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2000-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Exercise high-bit-set unibyte-in-[...]-range bug.
|
||||
|
||||
# Copyright (C) 2011-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2011-2018 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
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# source this file; set up for tests
|
||||
|
||||
# Copyright (C) 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2009-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Exercise -T.
|
||||
|
||||
# Copyright 2016-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2016-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Regression test for GNU grep.
|
||||
#
|
||||
# Copyright (C) 2001, 2006, 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2001, 2006, 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# Evoke a segfault in a hard-to-reach code path of kwset.c.
|
||||
# This bug affected grep versions 2.19 through 2.21.
|
||||
#
|
||||
# Copyright (C) 2015-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2015-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# grep-2.21 would incur a 100x penalty for 10x increase in regexp length
|
||||
|
||||
# Copyright 2015-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2015-2018 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
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
# grep -F -x -o PAT print an extra newline for each match.
|
||||
# This would fail for grep-2.19 and grep-2.20.
|
||||
|
||||
# Copyright 2014-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2014-2018 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
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# Trigger a bug in the DFA matcher.
|
||||
# This would fail for grep-2.20.
|
||||
|
||||
# Copyright 2014-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2014-2018 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
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# grep would sometimes read beyond end of input, when using a non-UTF8
|
||||
# multibyte locale.
|
||||
|
||||
# Copyright 2014-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2014-2018 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
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
# The 200x is on an Intel i7-based system.
|
||||
# On an AMD FX-4100, it would take up to 2500x longer.
|
||||
|
||||
# Copyright 2014-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2014-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Test whether \s matches SP and UTF-8 multi-byte white space characters.
|
||||
#
|
||||
# Copyright (C) 2013-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2013-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# Test a pattern of multiple begin or end line constraints.
|
||||
# This would mistakenly print a line when using grep-2.19.
|
||||
|
||||
# Copyright 2014-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2014-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Test NUL bytes in patterns and data.
|
||||
|
||||
# Copyright 2014-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2014-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Test for POSIX options for grep
|
||||
#
|
||||
# Copyright (C) 2001, 2006, 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2001, 2006, 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Simple PCRE tests.
|
||||
#
|
||||
# Copyright (C) 2001, 2006, 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2001, 2006, 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# Show that grep handles PCRE's PCRE_ERROR_MATCHLIMIT.
|
||||
# In grep-2.8, it would abort.
|
||||
#
|
||||
# Copyright (C) 2011-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2011-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# grep -P / grep -Pc are inconsistent results
|
||||
# This bug affected grep versions 2.21 through 2.22.
|
||||
#
|
||||
# Copyright (C) 2015-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2015-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# With some versions of libpcre, apparently including 8.35,
|
||||
# the following would trigger an infinite loop in its match function.
|
||||
|
||||
# Copyright 2014-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2014-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Ensure that grep -oaP doesn't infloop for invalid multi-byte input
|
||||
#
|
||||
# Copyright (C) 2015-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2015-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Ensure that grep -P doesn't abort or infloop for invalid multi-byte input
|
||||
#
|
||||
# Copyright (C) 2013-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2013-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Grep 2.21 would report "grep: internal PCRE error: -27"
|
||||
#
|
||||
# Copyright 2015-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2015-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Ensure that grep -oP doesn't cause internal error at match.
|
||||
#
|
||||
# Copyright (C) 2014-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2014-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Ensure that, with -P, Unicode \p{} symbols are correctly matched.
|
||||
#
|
||||
# Copyright (C) 2012-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2012-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Before grep-2.19, grep -Pw %% would match %% enclosed in word boundaries
|
||||
#
|
||||
# Copyright (C) 2014-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2014-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Before grep-2.19, grep -P and -w/-x would not with a backreference.
|
||||
#
|
||||
# Copyright (C) 2014-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2014-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Check various bracket expressions in the POSIX locale.
|
||||
|
||||
# Copyright 2014-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2014-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Test the /proc file system if available.
|
||||
|
||||
# Copyright 2016-2017 Free Software Foundation, Inc.
|
||||
# Copyright 2016-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Regression test for GNU grep.
|
||||
# Copyright (C) 1988 Henry Spencer.
|
||||
# Copyright (C) 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# Regression test for GNU grep.
|
||||
#
|
||||
# Copyright (C) 1988 Henry Spencer.
|
||||
# Copyright (C) 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 1988 Henry Spencer.
|
||||
# Copyright (C) 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 1988 Henry Spencer.
|
||||
# Copyright (C) 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# Regression test for GNU grep.
|
||||
#
|
||||
# Copyright (C) 1988 Henry Spencer.
|
||||
# Copyright (C) 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
# 1 no match
|
||||
# 2 file not found
|
||||
#
|
||||
# Copyright (C) 2001, 2006, 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2001, 2006, 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Trigger a segfault-inducing bug with -i in grep-2.14 on Cygwin.
|
||||
|
||||
# Copyright (C) 2013-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2013-2018 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
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Check that "grep -r" does the right thing with symbolic links.
|
||||
|
||||
# Copyright (C) 2012-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2012-2018 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
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# regular expression test set
|
||||
#
|
||||
# Copyright (C) 2001, 2006, 2009-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2001, 2006, 2009-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Test for a bug in glibc's regex code as of September 7, 2014.
|
||||
#
|
||||
# Copyright (C) 2014-2017 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2014-2018 Free Software Foundation, Inc.
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user