| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
| |
* m4/dosfile.m4 (AC_DOSFILE): Move AC_DEFINEs out of AC_CACHE_CHECK.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* djgpp/config.bat : Fix for 4dos.com.
* m4/dosfile.m4 (HAVE_DOS_FILE_CONTENTS) : Was not set.
Bugs noted and patched by Juan Manuel Guerrero.
A much requested feature, the possibility to select
files when doing recurse :
# find . -name "*.c" | xargs grep main {}
# grep --include=*.c main .
# find . -not -name "*.c" | xargs grep main {}
# grep --exclude=*.c main .
* src/grep.c (short_options): -R equivalent to -r.
(#ifdef) : Fix some inconsistencies in the use of #ifdefs, prefer
#if defined() wen possible.
(long_options) : Add --color, --include and exclude.
(Usage) : Description of new options.
(color) : Rename color variable to color_option.
Removed 'always|never|auto' arguments, not necessary for grep.
(exclude_pattern) : new variable, holder for the file pattern.
(include_pattern) : new variable, hoder for the file pattern.
* src/savedir.c : Signature change, take two new argmuments.
* doc/grep.texi : Document, new options.
* doc/grep.man : Document, new options.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Do CRLF munging only if HAVE_DOS_FILE_CONTENTS, instead of
having it depend on O_BINARY (which leads to incorrect results
on BeOS, VMS, and MacOS).
* bootstrap/Makefile.try (DEFS): Add -DHAVE_DOS_FILE_CONTENTS.
* src/system.h (SET_BINARY): Define only if HAVE_DOS_FILE_CONTENTS.
(O_BINARY): Do not define.
* m4/dosfile.m4: Define HAVE_DOS_FILE_CONTENTS if it appears we're
using DOS.
* src/grep.c (undossify_input, fillbuf, dosbuf.c, prline, main):
Depend on HAVE_DOS_FILE_CONTENTS, not O_BINARY, when handling CRLF
matters.
(grepfile, main): Depend on SET_BINARY, not O_BINARY, when
handling binary files on hosts that care about text versus binary.
* lib/getpagesize.h (getpagesize): Define to B_PAGE_SIZE if
__BEOS__ is defined. Based on a fix by Bruno Haible
<haible@clisp.cons.org>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am (ACINCLUDE_INPUTS): Add decl.m4, inttypes_h.m4,
uintmax_t.m4, ulonglong.m4, xstrtoumax.m4.
* m4/Makefile.am (EXTRA_DIST): Likewise.
* src/Makefile.am (base_sources):
Add xstrtol.c, xstrtol.h, xstrtoumax.c.
(EXTRA_DIST): Add strtol.c.
* configure.in (jm_AC_TYPE_UINTMAX_T, jm_AC_PREREQ_XSTRTOUMAX,
HAVE_DECL_STRTOUL, HAVE_DECL_STRTOULL): Add.
(AC_REPLACE_FUNCS): Add strtoul.
* src/grep.c: Include xstrtol.h.
(ck_atio): Use xstrtoumax and do proper overflow checking.
(max_count, outleft): Now off_t, not int.
(main): Likewise. Use xstrtoumax to convert max_count from string.
* acconfig.h (HAVE_DECL_STRTOUL, HAVE_DECL_STRTOULL): New #undefs.
(HAVE_STPCPY, ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
HAVE_LC_MESSAGES): Remove.
* m4/decl.m4, m4/inttypes_h.m4, m4/uintmax_t.m4, m4/ulonglong.m4,
m4/xstrtoumax.m4, src/strtol.c, src/strtoul.c, src/strtoull.c,
src/strtoumax.c, src/xstrtol.c, src/xstrtol.h, src/xstrtoumax.c:
New files, taken unchanged from textutils, fileutils, sh-utils
and/or tar.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PATCHES.AC PATCHES.AM README THANKS TODO acconfig.h
configure.in stamp-h.in bootstrap/Makefile.am
bootstrap/Makefile.try bootstrap/README djgpp/Makefile.am
djgpp/README djgpp/config.bat djgpp/config.h djgpp/config.sed
djgpp/config.site djgpp/getconf djgpp/intl.mak djgpp/main.mak
djgpp/po.mak djgpp/po2tbl.sed djgpp/src.mak djgpp/tests.mak
doc/Makefile.am doc/egrep.man doc/fgrep.man doc/grep.1
doc/grep.texi intl/ChangeLog intl/Makefile.in intl/VERSION
intl/bindtextdom.c intl/cat-compat.c intl/dcgettext.c
intl/dgettext.c intl/explodename.c intl/finddomain.c
intl/gettext.c intl/gettext.h intl/gettextP.h
intl/hash-string.h intl/intl-compat.c intl/l10nflist.c
intl/libgettext.h intl/linux-msg.sed intl/loadinfo.h
intl/loadmsgcat.c intl/localealias.c intl/po2tbl.sed.in
intl/textdomain.c intl/xopen-msg.sed m4/Makefile.am
m4/djgpp.m4 m4/dosfile.m4 m4/envsep.m4 m4/gettext.m4
m4/glibc.m4 m4/header.m4 m4/init.m4 m4/install.m4
m4/isc-posix.m4 m4/largefile.m4 m4/lcmessage.m4 m4/missing.m4
m4/progtest.m4 m4/regex.m4 m4/sanity.m4 po/ChangeLog
po/Makefile.in.in po/POTFILES.in po/cat-id-tbl.c po/cs.po
po/de.po po/el.po po/eo.po po/es.po po/et.po po/fr.po
po/grep.pot po/hr.po po/id.po po/it.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/stamp-cat-id po/sv.po src/Makefile.am src/alloca.c
src/ansi2knr.1 src/ansi2knr.c src/dfa.c src/dfa.h src/dosbuf.c
src/egrepmat.c src/fgrepmat.c src/getopt.c src/getopt.h
src/getopt1.c src/getpagesize.h src/grep.c src/grep.h
src/grepmat.c src/kwset.c src/kwset.h src/memchr.c
src/obstack.c src/obstack.h src/regex.c src/regex.h
src/savedir.c src/savedir.h src/search.c src/stpcpy.c
src/system.h src/vms_fab.c src/vms_fab.h src/posix/Makefile.am
src/posix/regex.h tests/Makefile.am tests/bre.awk tests/bre.sh
tests/bre.tests tests/empty.sh tests/ere.awk tests/ere.sh
tests/ere.tests tests/formatbre.awk tests/formatere.awk
tests/khadafy.lines tests/khadafy.regexp tests/khadafy.sh
tests/options.sh tests/spencer1.awk tests/spencer1.sh
tests/spencer1.tests tests/spencer2.sh tests/spencer2.tests
tests/status.sh tests/tests tests/warning.sh vms/Makefile.am
vms/README vms/config_vms.h vms/make.com
----------------------------------------------------------------------
sigh .. my timestamp is screwed again.
* regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
|
|
|
|
| |
patch from P.E.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
add support for largefiles
Upgrade large-file support to the version used in tar and
textutils.
* Makefile.am (ACLOCAL_AMFLAGS): Define to be empty.
(M4DIR, ACINCLUDE_INPUTS): New macros.
($(srcdir)/acinclude.m4): New rule.
* configure.in (AC_CANONICAL_HOST, AM_C_PROTOTYPES): Add.
(AC_SYS_LARGEFILE): Renamed from AC_LFS, for compatibility
with what should appear in the next autoconf release.
* m4/largefile.m4: Renamed from m4/lfs.m4.
* src/ansi2knr.1, src/ansi2knr.c, config.guess, config.sub:
New files. config.guess and config.sub ar needed by the new
AC_SYS_LARGEFILE. ansi2knr is needed by AM_C_PROTOTYPES,
which in turn is needed by the new AC_SYS_LARGEFILE.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
change quote.
* grep-2.2f beta release.
* m4/{djgpp,envsep,glibc,regex,dosfile,isc-posix}.m4 :
New files to aid configuration and unload configure.in.
* m4/Makefile.am : updated.
Patch forwarded by Ben Elliston.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
provided for system lacking configure.
update
added guard for HAVE_CONFIG_H
* grep-2.2f beta release.
* m4/{djgpp,envsep,glibc,regex,dosfile,isc-posix}.m4 :
New files to aid configuration and unload configure.in.
* m4/Makefile.am : updated.
Patch forwarded by Ben Elliston.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
updates from Eli.
Few typo fixed.
use DJ_GPP instead of DJGPP
prototype undossify_input.
* grep-2.2f beta release.
* m4/{djgpp,envsep,glibc,regex,dosfile,isc-posix}.m4 :
New files to aid configuration and unload configure.in.
* m4/Makefile.am : updated.
Patch forwarded by Ben Elliston.
|
|
|
|
|
|
|
|
|
|
| |
add AC_SUBST(LOBOBJS)
* grep-2.2f beta release.
* m4/{djgpp,envsep,glibc,regex,dosfile,isc-posix}.m4 :
New files to aid configuration and unload configure.in.
* m4/Makefile.am : updated.
Patch forwarded by Ben Elliston.
|
|
|
|
|
|
|
|
|
|
|
| |
updateds.
btowc.c preotect agains cygwin.
* grep-2.2f beta release.
* m4/{djgpp,envsep,glibc,regex,dosfile,isc-posix}.m4 :
New files to aid configuration and unload configure.in.
* m4/Makefile.am : updated.
Patch forwarded by Ben Elliston.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
minor changes to the name of the macros
move #include dosbuf.c further down
update to 2.3
* grep-2.2f beta release.
* m4/{djgpp,envsep,glibc,regex,dosfile,isc-posix}.m4 :
New files to aid configuration and unload configure.in.
* m4/Makefile.am : updated.
Patch forwarded by Ben Elliston.
|
|
|
|
| |
update
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
update.
update.
update.
* doc/Makefile.am djgpp/Makefile.am m4/Makefile.am vms/Makefile.am:
New files.
* m4/progtest.m4: proctect '[]' from m4.
Noted by Eli Z.
* PATCHES-AC: New file, add the patch for autoconf in the dist.
* acconfig.h: (HAVE_DOS_FILENAME)
* TODO: updated.
* src/search.c: remove obsolete 'gegrep,ggrep,gnugrep'
matchers. grep no longer depend on argv[0].
* grep-2.2e beta to test DJGPP port.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
let have djgpp directory be more dependent
let m4 have Makefile.am
let vms have Makefile.am
* src/grep.c : Typo s/infalid/invalid/
Also noted by Stanislav Brabec.
* doc/grep.texi: I found and corrected several typos.
I believe the GNU standards require the section that describes the
options to the programs to be called ``Invoking'' or ``Invoking
<program-name>''. This is so users and programs can easily find
that node in any Info file. So I changed the name of the
`Options' chapter to `Invoking', and corrected the
cross-references accordingly.
I added some markup to things like file names and options.
I added some additional index entries where that seemed useful.
I also corrected some index entries, such as "@cindex [:alnum:]",
which used a colon in them (the colons confuse Info readers).
* grep/doc/grep.texi : -h is not use for help.
Nit spotted by Jim Meyering.
* grep-2.2d release for beta.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
protect [] when declaring [A-z] from m4.
get rid of obsolete default matcher.
* src/grep.c : Typo s/infalid/invalid/
Also noted by Stanislav Brabec.
* doc/grep.texi: I found and corrected several typos.
I believe the GNU standards require the section that describes the
options to the programs to be called ``Invoking'' or ``Invoking
<program-name>''. This is so users and programs can easily find
that node in any Info file. So I changed the name of the
`Options' chapter to `Invoking', and corrected the
cross-references accordingly.
I added some markup to things like file names and options.
I added some additional index entries where that seemed useful.
I also corrected some index entries, such as "@cindex [:alnum:]",
which used a colon in them (the colons confuse Info readers).
* grep/doc/grep.texi : -h is not use for help.
Nit spotted by Jim Meyering.
* grep-2.2d release for beta.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
new directory doc enter.
support for DOS.
move in doc.
updated.
* doc/: New directory, grep.1, {e,f}grep.man move here
with a draft of grep.texi(base of sed.texi).
* tests/{ere,bre}.*: New files. The spencer2 test is split
in two ere/bre.
* config.hin: New, config.h.in rename to config.hin for OS
with limited file system aka DOS.
|
| |
|
|
|
|
|
|
| |
have ourn own set of *.m4 file in aclocal
rename m4 aclocal for consitencies
|
|
use our own instead of default.
now don't rely on matcher = argv[0] set explicitly at compilation.
* src/grep.c: The Matcher is not set to argv[0] but
explicitly by a #define MATCHER at compile time default is "grep".
|