| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* po/Makefile.in.in: Adjust to work with automake 1.1x
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* po/ko.po: Fix email address.
|
|
|
|
|
|
| |
This change is based on a suggestion by Elliott Hughes.
* src/grep.c (usage): Use PACKAGE_BUGREPORT.
* po/*.po: Hacked the current translation again.
|
|
|
|
|
|
|
|
|
|
| |
* ./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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
* src/dfa.c: remove non-constant initializers from dfa.c
|
| |
|
|
|
|
|
|
| |
* src/grep.c, src/Makefile.am, configure.in: Add patch from
Paul Eggert <eggert@twinsun.com> to comply with ridiculous
guidelines (don't act differently if invoked as egrep or fgrep)
|
| |
|
|
|
|
|
|
| |
* src/Makefile.am, po/Makefile.in.in: Support DESTDIR properly
* tests/bre.tests: Add fix from
Peter Breitenlohner <peb@mppmu.mpg.de>
|
|
|
|
| |
* po/*: Sync with translation project
|
|
|
|
|
|
| |
* configure.in, m4/regex.m4, m4/malloc.m4, m4/realloc.m4:
Don't set LIBOBJS directly, autoconf 2.53 doesn't like it
* intl/*: Sync with gettext 0.11
|
| |
|
|
|
|
| |
* po/ru.po: Sync with translation project
|
|
|
|
| |
* configure.in, lib/Makefile.am: Don't use internal getopt if
|
|
|
|
|
| |
* src/grep.c: Add --only-matching (-o) switch (see NEWS)
* doc/grep.texi, doc/grep.1, NEWS: Document changes
|
|
|
|
|
| |
* src/dfa.c: Fix an i18n bug: echo "A" | grep '[A-Z0-9]' wouldn't work
in non-C-Locales on systems using current versions of glibc.
|
|
|
|
| |
GNU/Linux system with LANG set to anything but "C".
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/grep.1: Warn that grep insert a "--" between groups of matches,
when using the context options.
* doc/grep.texi: Likewised.
* configure.in: Add gl in ALL_LINGUAS.
* doc/grep.1: Warn that grep insert a "--" between groups of matches,
when using the context options.
* doc/grep.texi: Likewised.
|
|
|
|
|
|
|
| |
reading of directories and silently ignore them.
* doc/grep.texi: Point out that some Platforms do not support
reading of directories and silently ignore them.
|
|
|
|
|
|
|
| |
* po/*.po: New files from the translation team:
grep-2.5e.de.po grep-2.5e.el.po grep-2.5e.eo.po grep-2.5e.es.po
grep-2.5e.et.po grep-2.5e.fr.po grep-2.5e.gl.po grep-2.5e.it.po
grep-2.5e.pl.po grep-2.5e.sl.po
|
| |
|
|
|
|
|
|
|
|
| |
* src/grep.c: Fix all uses of error to pass a proper format
string.
* src/grep.c: Fix all uses of error to pass a proper format
string.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* dfa.c (mblen_buf) : New variable contains the amount of remain
byte of corresponding multibyte character in the input string.
(SKIP_REMAIN_MB_IF_INITIAL_STATE) : Use mblen_buf.
(match_anychar) : Use mblen_buf.
(match_mb_charset) : Use mblen_buf.
(transit_state_consume_1char) : Use mblen_buf.
(transit_state) : Use inputwcs to get current (multibyte) character.
(dfaexec) : Add initialization of mblen_buf.
* dfa.c (addtok) : Set appropriate value to multibyte_prop.
(dfastate) : Add the initialization of the variable.
(dfaexec) : Call transit_state if d->fail may transit by
multibyte characters.
(transit_state_singlebyte) : Clean up unnecessary code.
(transit_state_consume_1char) : Likewise.
|
| |
|
|
|
|
|
|
|
|
| |
* search.c (check_multibyte_string) : Check the case when mbclen == 0.
* search.c (check_multibyte_string) : Check the head of multibyte
characters, and optimize a bit.
(EGexecute) : Optimize a bit.
(Fexecute) : Fix the index.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Only the Regex patterns should be split in an array, patterns[].
The dfa and KWset compiled patterns should remain global and the
patterns compiled all at once.
* src/search.c : include "error.h" and "xalloc.h" to get prototyping
of x*alloc() and error().
(kwsinit) : Reverse to previous behaviour and takes no argument.
(kwsmusts) : Likewised.
(Gcompile) : For the regex pattern, split them and each pattern
is put in different compiled structure patterns[]. The patterns
are given to dfacomp() and kwsmusts() as is.
(Ecompile) : Likewised.
(Fcompile) : Reverse to the old behaviour of compiling the enire
patterns in one shot.
(EGexecute) : If falling to GNU regex for the matching, loop in the
array of compile patterns[] to find a match.
(error) : Many error () were call with arguments in the wrong order.
* tests/file.sh : Simple test to check for pattern in files.
Reaction to bug report fired by Greg Louis <glouis@dynamicro.on.ca>
In multibyte environments, handle multibyte characters as single
characters in bracket expressions.
* src/dfa.h (mb_char_classes) : new structure.
(mbcsets) : new variable.
(nmbcsets) : new variable.
(mbcsets_alloc) : new variable.
* src/dfa.c (prtok) : handle MBCSET.
(fetch_wc) : new function to fetch a wide character.
(parse_bracket_exp_mb) : new function to handle multibyte character
in lex().
(lex) : invoke parse_bracket_exp_mb() for multibyte bracket expression.
(atom) : handle MBCSET.
(epsclosure) : likewise.
(dfaanalyze) : likewise.
(dfastate) : likewise.
(match_mb_charset) : new function to judge whether a bracket match
with a multibyte character.
(check_matching_with_multibyte_ops) : handle MBCSET.
(dfainit) : initialize new variables.
(dfafree) : free new variables.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* doc/grep.texi : Typo fixes.
|
|
|
|
| |
updated
|
|
|
|
|
|
|
|
|
|
|
| |
ChangeLog po/cs.po po/de.po po/el.po po/eo.po po/es.po
po/et.po po/fr.po po/hr.po po/id.po po/ja.po po/ko.po po/nl.po
po/no.po po/pl.po po/pt_BR.po po/ru.po po/sl.po po/sv.po
Updated.
* 2.4.1 Release
* 2.4 Release.
|
|
|
|
|
| |
cs.po eo.po et.po hr.po id.po it.po ja.po
new file for translation
|
|
|
|
|
|
|
|
|
| |
ChangeLog configure.in po/de.po po/el.po po/es.po po/fr.po
po/ko.po po/nl.po po/no.po po/pl.po po/pt_BR.po po/ru.po
po/sl.po po/sv.po
updates.
* po/*.po: update of the PO files.
|
|
|
|
|
|
|
| |
de.po el.po es.po fr.po ko.po nl.po no.po pl.po pt_BR.po ru.po
sl.po sv.po
new po files for 2.3f
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
say 2.3.1.
say 2.3.1.
|
| |
|
| |
|