summaryrefslogtreecommitdiff
path: root/po
Commit message (Collapse)AuthorAgeFilesLines
* maint: run "make update-copyright"Paul Eggert2021-01-011-1/+1
|
* maint: update all copyright year number rangesJim Meyering2020-01-011-1/+1
| | | | | | | | Run "make update-copyright" and then... * gnulib: Update to latest with copyright year adjusted. * tests/init.sh: Sync with gnulib to pick up copyright year. * bootstrap: Likewise. * doc/grep.in.1: Use "-" in copyright year ranges, not \en.
* maint: adjust to recent Gnulib changePaul Eggert2019-12-181-1/+0
| | | | * po/POTFILES.in: Remove lib/xstrtol-error.c.
* build: update gnulib to latestJim Meyering2019-11-081-0/+1
| | | | * po/POTFILES.in: Add lib/argmatch.h.
* maint: update all copyright dates via "make update-copyright"Jim Meyering2019-01-011-1/+1
| | | | * gnulib: Also update submodule for its copyright updates.
* maint: update URLsPaul Eggert2018-04-211-1/+1
| | | | | Mostly this is just changing http: to https:. In one or two places it removes no-longer-useful URLs.
* maint: update gnulib and copyright dates for 2018Jim Meyering2018-01-061-1/+1
| | | | | | * gnulib: Update to latest. * all files: Run "make update-copyright". * bootstrap: Update from gnulib.
* grep: diagnose stack overflow rather than segfaultingJim Meyering2017-12-161-0/+1
| | | | | | | | | | | | | | | | | | | * bootstrap.conf (gnulib_modules): Add c-stack. * src/grep.c: Include "c-stack.h". (main): Call c_stack_action (NULL); * tests/stack-overflow: New file. * tests/Makefile.am (TESTS): Add name of new file. * NEWS (Improvements): Mention it. Interestingly, this bug does not afflict grep-2.5.4 or prior, so it appeared to have been introduced with grep-2.6. However, the origin is in glibc's regexp compiler, and I tracked it to stack-aware parsing that was removed from glibc's regexp in 2002. However, grep-2.5.4 was released in 2009. That version worked (and still works, now) because it included and (by default) used an old copy of glibc's regexp code. Jeremy Feusi reported the grep segfault in https://bugs.gnu.org/29666. I reported the glibc regexp bug in https://sourceware.org/bugzilla/show_bug.cgi?id=22620
* maint: fix new syntax-check errorsJim Meyering2017-02-171-0/+1
| | | | | * po/POTFILES.in: Add lib/xbinary-io.c. * cfg.mk (FILTER_LONG_LINES): Add TODO to the list of exempt files.
* maint: update gnulib and copyright dates for 2017Jim Meyering2017-01-011-1/+1
| | | | | * gnulib: Update to latest. * all files: Run "make update-copyright".
* dfa: reflect move of grep's DFA code to gnulibJim Meyering2016-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | Now that the core DFA code and tests reside in gnulib, remove the copies here and use what gnulib provides. * bootstrap.conf: Use the dfa module. * cfg.mk: Remove settings involving files that have moved. (_gl_TS_unmarked_extern_functions): Add dfaerror and dfawarn. It is wrong/ugly to have to define these global symbols to use the dfa module, but we'll adjust that separately. * po/POTFILES.in: Apply s/src/lib/ to src/dfa.c. * src/Makefile.am: Remove mention of dfa.[ch] and localeinfo.[ch]. * tests/Makefile.am: Remove mention of the tests that we have moved to the gnulib module. * src/dfa.c: Remove file. * src/dfa.h: Likewise. * src/localeinfo.c: Likewise. * src/localeinfo.h: Likewise. * tests/dfa-match: Likewise. * tests/dfa-match-aux.c: Likewise. * tests/invalid-char-class: Likewise.
* maint: update copyright year, bootstrap, init.shJim Meyering2016-01-011-1/+1
| | | | | | | | Run "make update-copyright" and then... * gnulib: Update to latest. * tests/init.sh: Update from gnulib. * bootstrap: Likewise.
* maint: update copyright year ranges to include 2015Jim Meyering2015-01-011-1/+1
| | | | | Run "make update-copyright". Also, ... * grep.texi: Update manually, converting each "--" to "-".
* maint: avoid sc_po_check syntax-check failure (kwset.c)Jim Meyering2014-04-081-1/+0
| | | | | * po/POTFILES.in: Remove kwset.c from this list, since it no longer contains a translatable diagnostic.
* egrep, fgrep: go back to shell scriptsPaul Eggert2014-03-231-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Although egrep's and fgrep's switch from shell scripts to executables may have made sense in 2005, it complicated maintenance and recently has caused subtle performance bugs. Go back to the old way of doing things, as it's simpler and more easily separated from the mainstream implementation. This should be good enough nowadays, as POSIX has withdrawn egrep/fgrep and portable applications should be using -E/-F anyway. * po/POTFILES.in: Remove src/egrep.c, src/fgrep.c, src/main.c. * src/Makefile.am (bin_PROGRAMS): Remove egrep, fgrep. (bin_SCRIPTS): New macro. (grep_SOURCES): Move searchutils.c, dfa.c, dfasearch.c, kwset.c, kwsearch.c, pcresearch.c here from libgrep_a_SOURCES. (egrep_SOURCES, fgrep_SOURCES, noinst_LIBRARIES, libgrep_a_SOURCES): Remove. (LDADD): Remove libgrep.a. (egrep, fgrep): New rules. (CLEANFILES): New macro. * src/grep.c: Rename from src/main.c. (usage, setmatcher, main): Simplify, since there's now just one executable. (Gcompile, Ecompile, Acompile, GAcompile, PAcompile, matchers): Move here from the (removed) src/grep.c. (compile_fp_t, execute_fp_t, struct matcher, matchers): Move here from src/grep.h, as they no longer need to be public. (struct matcher.name): Avoid one level of indirection/relocation. (do_execute, main): Fix a performance bug when it was compiled as 'fgrep', due to confusion about which matcher was which. (main): Fix a performance bug with -P, likewise. * src/grep.h (before_options, after_options): Remove. * src/egrep.c, src/fgrep.c, src/grep.c: Remove.
* maint: update copyright dates for 2014Jim Meyering2014-01-011-1/+1
| | | | Do that by running "make update-copyright".
* maint: update all copyright year number rangesJim Meyering2013-01-041-1/+1
| | | | Run "make update-copyright".
* grep: -r no longer follows symlinks; use ftsPaul Eggert2012-03-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change -r to follow only command-line symlinks, and by default to read only devices named on the command line. This is a simple way to get a more-useful behavior when searching random directories; the idea is to use 'find' if you want something fancy. -R acts as before and gets a new alias --dereference-recursive. The code now uses fts internally, so it is more robust and faster with large hierarchies. * .gitignore: Remove lib/savedir.c, lib/savedir.h. * tests/symlink: New file * Makefile.boot (LIB_OBJS_core): Remove isdir.o, savedir.o. Perhaps other changes are needed too, but I'm not sure what this makefile is for. * NEWS: Document changes. * doc/grep.texi (File and Directory Selection): Likewise. * bootstrap.conf (gnulib_modules): Remove dirent, dirname, isdir, open. Add fstatat, fts, openat-safer. * lib/Makefile.am (libgreputils_a_SOURCES): Remove savedir.c, savedir.h. * lib/savedir.c, lib/savedir.h: Remove. * po/POTFILES.in: Add lib/openat-die.c. * src/main.c: Include fcntl-safer.h, fts_.h. Don't include isdir.h, savedir.h. (struct stats, stats_base): Remove. (long_options, usage, main): Add --dereference-recursive and implement -r vs -R. (filename_prefix_len, fts_options): New static vars. (basic_fts_options, READ_COMMAND_LINE_DEVICES): New constants. (devices): Now defaults to READ_COMMAND_LINE_DEVICES. (reset, grep): Now takes just struct stat rather than file name and struct stats. All callers changed. (fillbuf): Now takes struct stat reather than struct stats. All callers changed. (grep): Don't worry about recursing too deeply; fts and grepdesc handle this now. (is_device_mode, grepdirent, grepdesc, grep_command_line_args): New functions. (grepfile): New args DIRDESC, FOLLOW, COMMAND_LINE. Remove struct stats arg. All callers changed. Use openat_safer rather than open. Use desc == STDIN_FILENO to tell whether we're reading "-". Don't worry about EINTR when closing -- not possible, since we're not catching signals. * tests/Makefile.am (TESTS): Add symlink. * tests/symlink: New file.
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* maint: update po/POTFILES.inJim Meyering2011-06-211-1/+0
| | | | | * po/POTFILES.in: Remove dfasearch.c, now that it no longer contains a translatable diagnostic.
* maint: update from gnulibJim Meyering2011-02-281-13/+13
| | | | | | * bootstrap: Update from gnulib. * tests/init.sh: Likewise. * gnulib: Update to latest.
* maint: update copyright year ranges to include 2011Jim Meyering2011-01-031-1/+1
| | | | Run "make update-copyright", so "make syntax-check" works in 2011.
* maint: add lib/version-etc.c to the list in POTFILES.inJim Meyering2010-09-011-0/+1
| | | | * po/POTFILES.in: Add lib/version-etc.c.
* maint: fix new argmatch-related syntax-check failuresJim Meyering2010-04-051-0/+1
| | | | | * configure.ac (ARGMATCH_DIE): Use usage(EXIT_FAILURE), not exit(1). * po/POTFILES.in: Add lib/argmatch.c.
* grep: rename files for intuitivenessPaolo Bonzini2010-03-221-4/+4
| | | | | | | | | * Makefile.am (libgrep_a_SOURCES, grep_SOURCES, egrep_SOURCES, fgrep_SOURCES): Adjust. * grep.c: Rename to main.c. * esearch.c: Rename to egrep.c. * fsearch.c: Rename to fgrep.c. * gsearch.c: Rename to grep.c.
* grep: kill GREP_PROGRAM/EGREP_PROGRAM/FGREP_PROGRAMPaolo Bonzini2010-03-221-0/+3
| | | | | | | | | | | | | | | | | | | | | * NEWS: Document slight semantic change. * TODO: #ifdefs are gone. * po/POTFILES.in: Update. * src/Makefile.am (grep_SOURCES, egrep_SOURCES, fgrep_SOURCES): Remove grep.c/egrep.c/fgrep.c. (noinst_LIBRARIES): Change libsearch.a to libgrep.a. (libsearch_a_SOURCES): Rename to libgrep_a_SOURCES, add grep.c (LDADD): Change libsearch.a to libgrep.a. * src/esearch.c: Add before_options and after_options. * src/fsearch.c: Likewise. * src/gsearch.c: Likewise. * src/grep.c (short_options, long_options): Remove GREP_PROGRAM special-casing. (usage): Use before_options and after_options, look at matchers. (setmatcher): Merge with install_matcher. (main): Call setmatcher (NULL) instead of install_matcher. * src/grep.h (GREP_PROGRAM): Remove. (before_options, after_options): Add.
* grep: split search.cPaolo Bonzini2010-03-221-1/+2
| | | | | | | | | | * po/POTFILES.in: Update. * src/Makefile.am (grep_SOURCES, egrep_SOURCES, fgrep_SOURCES): Move kwset.c and dfa.c to libsearch.a. Add searchutils.c there too. * src/search.h, src/dfasearch.c, src/pcresearch.c, src/kwsearch.c, src/searchutils.c: New files, split out of src/search.c. * src/esearch.c, src/fsearch.c: Include the new files instead of search.c. * src/gsearch.c: Likewise, plus move Gcompile/Acompile here.
* maint: use regex from gnulib, rather than our bit-rotting oneJim Meyering2010-02-031-1/+1
| | | | | | | | | | * bootstrap.conf (gnulib_modules): Add regex. * configure.ac: Don't use jm_INCLUDED_REGEX. Update use of cache variable. * lib/regex.c: Remove file. * lib/regex.h: Likewise. * m4/regex.m4: Likewise. * POTFILES.in: Update to match.
* maint: update all FSF copyright year lists to include 2010Jim Meyering2010-01-011-2/+1
| | | | | | Use this command: git ls-files |grep -vE '^(\..*|COPYING|gnulib)$' |xargs \ env UPDATE_COPYRIGHT_USE_INTERVALS=1 build-aux/update-copyright
* maint: enable po-checkJim Meyering2009-12-041-8/+6
| | | | | * cfg.mk (local-checks-to-skip): Enable sc_po_check. * po/POTFILES.in: Sort and update.
* maint: remove now-generated file: po/Makefile.in.inJim Meyering2009-11-301-429/+0
| | | | * po/Makefile.in.in: Remove file, now generated via bootstrap.
* add gnulibPaolo Bonzini2009-11-262-51/+1
| | | | | * bootstrap: Use gnulib's build-aux/bootstrap. * configure.ac: Add gl_INIT and gl_EARLY.
* run autopoint and fetch po files from the bootstrap scriptPaolo Bonzini2009-11-2041-18763/+2
| | | | | | | | | | | | * bootstrap: Add autopoint invocation and fetching of .po files. * configure.ac: Bump to GNU gettext 0.17. * ABOUT-NLS: Remove. * m4/gettext.m4: Remove. * m4/iconv.m4: Remove. * m4/lib-link.m4: Remove. * m4/po.m4: Remove. * po/*.po: Remove.
* upgrade to external gettext, modernize handling of m4 subdirectoryPaolo Bonzini2009-11-204-150/+402
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac.in (AM_GNU_GETTEXT_VERSION): Bump to 0.17. (AC_OUTPUT): Remove m4/Makefile creation. * Makefile.am (subdirs): Remove m4 subdirectory. (EXTRA_DIST): Add build-aux/config.rpath. * intl/*: Remove. * m4/Makefile.am: Remove. * m4/codeset.m4: Remove. * m4/glibc.m4: Remove. * m4/glibc21.m4: Remove. * m4/header.m4: Remove. * m4/install.m4: Remove. * m4/isc-posix.m4: Remove. * m4/lcmessage.m4: Remove. * m4/sanity.m4: Remove. * m4/gettext.m4: Upgrade to gettext-0.17. * m4/iconv.m4: Upgrade to gettext-0.17. * m4/lib-ld.m4: New file, from gettext-0.17. * m4/lib-link.m4: New file, from gettext-0.17. * m4/lib-prefix.m4: New file, from gettext-0.17. * m4/nls.m4: New file, from gettext-0.17. * m4/po.m4: New file, from gettext-0.17. * m4/progtest.m4: Upgrade to gettext-0.17. * m4/Makefile.am (EXTRA_DIST): Add the new files. * po/Makefile.in.in: Upgrade to gettext-0.17. * po/Makevars: New. * po/cat-id-tbl.c: New. * src/Makefile.am: Replace @INTLLIBS@ with @LIBINTL@.
* move .cvsignore files to .gitignorePaolo Bonzini2009-11-201-2/+0
|
* * po/*.po: update from the Translation ProjectTony Abou-Assaleh2009-02-1012-324/+709
|
* * po/Makefile.in.in: Remove deleted file ChangeLog from DISTFILESTony Abou-Assaleh2009-02-011-1/+1
| | | | * po/Makefile.in.in: Remove deleted file ChangeLog from DISTFILES
* * po/*.po: update from the Translation ProjectTony Abou-Assaleh2009-02-0116-1547/+2640
| | | | * po/*.po: update from the Translation Project
* update/add copyright noticesKarl Berry2009-01-302-7/+16
|
* * po/POTFILES.in: -lib/getopt1.cTony Abou-Assaleh2008-02-151-1/+0
|
* * po/POTFILES.in: +src/system.h +lib/closeout.c +lib/regex.cTony Abou-Assaleh2008-02-141-0/+4
| | | | | | | +lib/xmalloc.c * po/POTFILES.in: +src/system.h +lib/closeout.c +lib/regex.c +lib/xmalloc.c
* po/sk.po: updated from the translation projectTony Abou-Assaleh2007-11-161-2/+2
| | | | * po/sk.po: updated from the translation project
* * po/*.po: get latest translationsTony Abou-Assaleh2007-11-0335-2793/+3761
| | | | | | * po/no.po: removed * po/ky.po: added * po/ky.po: added
* Fixesv2.5.2Bernhard Rosenkraenzer2006-11-241-15/+5
| | | | * po/Makefile.in.in: Adjust to work with automake 1.1x
* Add current translations from www.iro.umontreal.caBernhard Rosenkraenzer2006-08-1839-1781/+7887
|
* * README.DOS, TODO, grep.spec, doc/grep.1, doc/grep.texi,Charles Levert2005-11-084-5/+5
| | | | | | | | | | | | src/grep.h, po/da.po, po/nb.po, po/no.po, po/sv.po: Replace all capitalized "Grep" by a lowercase "grep", except in citations. Reported by Benno Schulenberg <benno@nietvergeten.nl> from the <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=190551> entry in the Debian bug tracker. * doc/grep.1, doc/grep.texi: Explain that the "egrep" and "fgrep" commands are deprecated and provided for historical applications. Replace some "egrep" uses by "grep -E" to promote the newer usage. Typeset "zgrep" as a command. Fix some spacing and punctuation bugs.
* Fix email address in ko.poJulian Foad2005-02-231-1/+1
| | | | * po/ko.po: Fix email address.
* Use PACKAGE_BUGREPORT.Stepan Kasal2004-11-2025-51/+51
| | | | | | This change is based on a suggestion by Elliott Hughes. * src/grep.c (usage): Use PACKAGE_BUGREPORT. * po/*.po: Hacked the current translation again.
* fix for current automake, drop support of legacy autotoolsStepan Kasal2004-11-201-2/+4
| | | | | | | | | | * ./cvsignore: Amended several .cvsignore files and removed *.gmo, acinclude.m4 and stamp-h.in from the root one. * m4/init.m4: Nuked, it was breaking current automake. * m4/Makefile.m4: Removed init.m4. * autogen.m4: Drop support for legacy autoconf; tell whether the auto tools exited successfully or not; fix the permissions of tests/*.sh--CVS doesn't provide a way to fix it.
* bug report address changeStepan Kasal2004-11-1925-51/+51
| | | | | | | | Change bug-gnu-utils address to bug-grep, on many places; there is no need to have the word ``grep'' in subject then. Thanks to Tony Abou-Assaleh and Benno Schulenberg for pointing out this. * 2.5.1 Release.