Skip to content

Commit

Permalink
released 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
genivia-inc committed May 6, 2024
1 parent 145db11 commit 8702bf6
Show file tree
Hide file tree
Showing 43 changed files with 9,740 additions and 3,651 deletions.
8 changes: 5 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SUBDIRS += lzma/C
endif
SUBDIRS += src

man1_MANS = man/ugrep.1
man1_MANS = man/ugrep.1 man/ugrep-indexer.1

EXTRA_DIST = README.md LICENSE.txt CONTRIBUTING.md CODE_OF_CONDUCT.md

Expand All @@ -31,10 +31,11 @@ all-local: cp2bin
.PHONY: cp2bin

# to copy the ugrep binary to the local ugrep/bin/ugrep and ugrep/bin/ug (symlinks DO NOT WORK for ug with bash when installed)
cp2bin: $(top_builddir)/src/ugrep$(EXEEXT)
cp2bin: $(top_builddir)/src/ugrep$(EXEEXT) $(top_builddir)/src/ugrep-indexer$(EXEEXT)
@rm -f $(top_builddir)/bin/ugrep$(EXEEXT)
@rm -f $(top_builddir)/bin/ugrep-indexer$(EXEEXT)
@mkdir -p $(top_builddir)/bin && \
cp -f $< $(top_builddir)/bin/ugrep$(EXEEXT) && \
cp -f $^ $(top_builddir)/bin/ && \
cd $(top_builddir)/bin && \
rm -f ug$(EXEEXT) && \
cp -f ugrep$(EXEEXT) ug$(EXEEXT)
Expand Down Expand Up @@ -117,6 +118,7 @@ install-data-hook:

uninstall-hook:
@rm -f $(DESTDIR)$(bindir)/ug$(EXEEXT) $(DESTDIR)$(bindir)/ugrep$(EXEEXT)
@rm -f $(DESTDIR)$(bindir)/ugrep-indexer$(EXEEXT)
@rm -f $(DESTDIR)$(bindir)/ug+ $(DESTDIR)$(bindir)/ugrep+
@rm -rf $(DESTDIR)$(datadir)/ugrep

Expand Down
10 changes: 5 additions & 5 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -284,14 +284,12 @@ DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
EXTRA_CFLAGS = @EXTRA_CFLAGS@
FISH_COMPLETION_CFLAGS = @FISH_COMPLETION_CFLAGS@
FISH_COMPLETION_DIR = @FISH_COMPLETION_DIR@
FISH_COMPLETION_LIBS = @FISH_COMPLETION_LIBS@
GREP = @GREP@
GREP_PATH = @GREP_PATH@
HAVE_CXX11 = @HAVE_CXX11@
INSTALL = @INSTALL@
Expand Down Expand Up @@ -388,7 +386,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SUBDIRS = lib $(am__append_1) src
man1_MANS = man/ugrep.1
man1_MANS = man/ugrep.1 man/ugrep-indexer.1
EXTRA_DIST = README.md LICENSE.txt CONTRIBUTING.md CODE_OF_CONDUCT.md
UGREP = $(shell pwd)/$(top_builddir)/bin/ugrep$(EXEEXT)
CONFIGH = $(shell pwd)/$(top_builddir)/config.h
Expand Down Expand Up @@ -1005,10 +1003,11 @@ all-local: cp2bin
.PHONY: cp2bin

# to copy the ugrep binary to the local ugrep/bin/ugrep and ugrep/bin/ug (symlinks DO NOT WORK for ug with bash when installed)
cp2bin: $(top_builddir)/src/ugrep$(EXEEXT)
cp2bin: $(top_builddir)/src/ugrep$(EXEEXT) $(top_builddir)/src/ugrep-indexer$(EXEEXT)
@rm -f $(top_builddir)/bin/ugrep$(EXEEXT)
@rm -f $(top_builddir)/bin/ugrep-indexer$(EXEEXT)
@mkdir -p $(top_builddir)/bin && \
cp -f $< $(top_builddir)/bin/ugrep$(EXEEXT) && \
cp -f $^ $(top_builddir)/bin/ && \
cd $(top_builddir)/bin && \
rm -f ug$(EXEEXT) && \
cp -f ugrep$(EXEEXT) ug$(EXEEXT)
Expand Down Expand Up @@ -1091,6 +1090,7 @@ install-data-hook:

uninstall-hook:
@rm -f $(DESTDIR)$(bindir)/ug$(EXEEXT) $(DESTDIR)$(bindir)/ugrep$(EXEEXT)
@rm -f $(DESTDIR)$(bindir)/ugrep-indexer$(EXEEXT)
@rm -f $(DESTDIR)$(bindir)/ug+ $(DESTDIR)$(bindir)/ugrep+
@rm -rf $(DESTDIR)$(datadir)/ugrep

Expand Down
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ Development roadmap

- #1 priority is quality assurance to continue to make sure ugrep has no bugs and is reliable

- make ugrep run even faster, see for example [#385](https://github.com/Genivia/ugrep/issues/385)

- add new and updated features, such as [indexing (beta release)](https://github.com/Genivia/ugrep-indexer)
- make ugrep run even faster, see [#385](https://github.com/Genivia/ugrep/issues/385)

- share [reproducible performance results](https://github.com/Genivia/ugrep-benchmarks)

Expand Down Expand Up @@ -5395,15 +5393,15 @@ in markdown:
have reasonable copyright terms permitting free redistribution. This
includes the ability to reuse all or parts of the ugrep source tree.

SEE ALSO
ugrep-indexer(1), grep(1), zgrep(1).

BUGS
Report bugs at: <https://github.com/Genivia/ugrep/issues>

SEE ALSO
grep(1).



ugrep 5.1.4 April 9, 2024 UGREP(1)
ugrep 6.0.0 May 6, 2024 UGREP(1)

🔝 [Back to table of contents](#toc)

Expand Down
4 changes: 2 additions & 2 deletions aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
[m4_warning([this file was generated for autoconf 2.71.
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.72],,
[m4_warning([this file was generated for autoconf 2.72.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
Expand Down
Binary file modified bin/win32/ug.exe
Binary file not shown.
Binary file added bin/win32/ugrep-indexer.exe
Binary file not shown.
Binary file modified bin/win32/ugrep.exe
Binary file not shown.
Binary file modified bin/win64/ug.exe
Binary file not shown.
Binary file added bin/win64/ugrep-indexer.exe
Binary file not shown.
Binary file modified bin/win64/ugrep.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ fi

echo
echo "ugrep was successfully built in $(pwd)/bin and tested:"
ls -l bin/ug bin/ug+ bin/ugrep bin/ugrep+
ls -l bin/ug bin/ug+ bin/ugrep bin/ugrep+ bin/ugrep-indexer
echo
echo "Copy bin/ug, bin/ug+, bin/ugrep, and bin/ugrep+ to a bin/ on your PATH"
echo "Copy bin/ug, bin/ug+, bin/ugrep, bin/ugrep+, and bin/ugrep-indexer to a bin/ on your PATH"
echo
echo "Or install the ugrep tools on your system by executing:"
echo "sudo make install"
Expand Down
48 changes: 24 additions & 24 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@
/* define if the Boost::Regex library is available */
#undef HAVE_BOOST_REGEX

/* Define to 1 if you have the `cpuset_setaffinity' function. */
/* Define to 1 if you have the 'cpuset_setaffinity' function. */
#undef HAVE_CPUSET_SETAFFINITY

/* define if the compiler supports basic C++11 syntax */
#undef HAVE_CXX11

/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
/* Define to 1 if you have the <dirent.h> header file, and it defines 'DIR'.
*/
#undef HAVE_DIRENT_H

/* Define if F_RDAHEAD fcntl() is supported */
#undef HAVE_F_RDAHEAD

/* Define to 1 if you have the `getpagesize' function. */
/* Define to 1 if you have the 'getpagesize' function. */
#undef HAVE_GETPAGESIZE

/* Define to 1 if you have the <inttypes.h> header file. */
Expand All @@ -49,10 +49,10 @@
/* Define to 1 if you have `zstd' library (-lzstd) */
#undef HAVE_LIBZSTD

/* Define to 1 if you have a working `mmap' system call. */
/* Define to 1 if you have a working 'mmap' system call. */
#undef HAVE_MMAP

/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* Define to 1 if you have the <ndir.h> header file, and it defines 'DIR'. */
#undef HAVE_NDIR_H

/* Define if O_NOATIME open flag is supported */
Expand All @@ -67,25 +67,25 @@
/* Have PTHREAD_PRIO_INHERIT. */
#undef HAVE_PTHREAD_PRIO_INHERIT

/* Define to 1 if you have the `pthread_setaffinity_np' function. */
/* Define to 1 if you have the 'pthread_setaffinity_np' function. */
#undef HAVE_PTHREAD_SETAFFINITY_NP

/* Define to 1 if you have the `pthread_setschedprio' function. */
/* Define to 1 if you have the 'pthread_setschedprio' function. */
#undef HAVE_PTHREAD_SETSCHEDPRIO

/* Define to 1 if you have the <sched.h> header file. */
#undef HAVE_SCHED_H

/* Define to 1 if you have the `sched_setaffinity' function. */
/* Define to 1 if you have the 'sched_setaffinity' function. */
#undef HAVE_SCHED_SETAFFINITY

/* Define to 1 if you have the `setpriority' function. */
/* Define to 1 if you have the 'setpriority' function. */
#undef HAVE_SETPRIORITY

/* Define to 1 if you have the `statfs' function. */
/* Define to 1 if you have the 'statfs' function. */
#undef HAVE_STATFS

/* Define to 1 if you have the `statvfs' function. */
/* Define to 1 if you have the 'statvfs' function. */
#undef HAVE_STATVFS

/* Define to 1 if you have the <stdint.h> header file. */
Expand All @@ -103,41 +103,41 @@
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H

/* Define to 1 if `d_ino' is a member of `struct dirent'. */
/* Define to 1 if 'd_ino' is a member of 'struct dirent'. */
#undef HAVE_STRUCT_DIRENT_D_INO

/* Define to 1 if `d_type' is a member of `struct dirent'. */
/* Define to 1 if 'd_type' is a member of 'struct dirent'. */
#undef HAVE_STRUCT_DIRENT_D_TYPE

/* Define to 1 if `st_atim' is a member of `struct stat'. */
/* Define to 1 if 'st_atim' is a member of 'struct stat'. */
#undef HAVE_STRUCT_STAT_ST_ATIM

/* Define to 1 if `st_atimespec' is a member of `struct stat'. */
/* Define to 1 if 'st_atimespec' is a member of 'struct stat'. */
#undef HAVE_STRUCT_STAT_ST_ATIMESPEC

/* Define to 1 if `st_ctim' is a member of `struct stat'. */
/* Define to 1 if 'st_ctim' is a member of 'struct stat'. */
#undef HAVE_STRUCT_STAT_ST_CTIM

/* Define to 1 if `st_ctimespec' is a member of `struct stat'. */
/* Define to 1 if 'st_ctimespec' is a member of 'struct stat'. */
#undef HAVE_STRUCT_STAT_ST_CTIMESPEC

/* Define to 1 if `st_mtim' is a member of `struct stat'. */
/* Define to 1 if 'st_mtim' is a member of 'struct stat'. */
#undef HAVE_STRUCT_STAT_ST_MTIM

/* Define to 1 if `st_mtimespec' is a member of `struct stat'. */
/* Define to 1 if 'st_mtimespec' is a member of 'struct stat'. */
#undef HAVE_STRUCT_STAT_ST_MTIMESPEC

/* Define to 1 if you have the <sys/cpuset.h> header file. */
#undef HAVE_SYS_CPUSET_H

/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
/* Define to 1 if you have the <sys/dir.h> header file, and it defines 'DIR'.
*/
#undef HAVE_SYS_DIR_H

/* Define to 1 if you have the <sys/mount.h> header file. */
#undef HAVE_SYS_MOUNT_H

/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines 'DIR'.
*/
#undef HAVE_SYS_NDIR_H

Expand Down Expand Up @@ -187,16 +187,16 @@
your system. */
#undef PTHREAD_CREATE_JOINABLE

/* Define to 1 if all of the C90 standard headers exist (not just the ones
/* Define to 1 if all of the C89 standard headers exist (not just the ones
required in a freestanding environment). This macro is provided for
backward compatibility; new code need not use it. */
#undef STDC_HEADERS

/* Version number of package */
#undef VERSION

/* Define to `unsigned int' if <sys/types.h> does not define. */
/* Define as 'unsigned int' if <stddef.h> doesn't define. */
#undef size_t

/* Define to `int' if <sys/types.h> does not define. */
/* Define as 'int' if <sys/types.h> doesn't define. */
#undef ssize_t

0 comments on commit 8702bf6

Please sign in to comment.