Skip to content

Commit 8702bf6

Browse files
committed
released 6.0
1 parent 145db11 commit 8702bf6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+9740
-3651
lines changed

Makefile.am

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SUBDIRS += lzma/C
44
endif
55
SUBDIRS += src
66

7-
man1_MANS = man/ugrep.1
7+
man1_MANS = man/ugrep.1 man/ugrep-indexer.1
88

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

@@ -31,10 +31,11 @@ all-local: cp2bin
3131
.PHONY: cp2bin
3232

3333
# 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)
34-
cp2bin: $(top_builddir)/src/ugrep$(EXEEXT)
34+
cp2bin: $(top_builddir)/src/ugrep$(EXEEXT) $(top_builddir)/src/ugrep-indexer$(EXEEXT)
3535
@rm -f $(top_builddir)/bin/ugrep$(EXEEXT)
36+
@rm -f $(top_builddir)/bin/ugrep-indexer$(EXEEXT)
3637
@mkdir -p $(top_builddir)/bin && \
37-
cp -f $< $(top_builddir)/bin/ugrep$(EXEEXT) && \
38+
cp -f $^ $(top_builddir)/bin/ && \
3839
cd $(top_builddir)/bin && \
3940
rm -f ug$(EXEEXT) && \
4041
cp -f ugrep$(EXEEXT) ug$(EXEEXT)
@@ -117,6 +118,7 @@ install-data-hook:
117118

118119
uninstall-hook:
119120
@rm -f $(DESTDIR)$(bindir)/ug$(EXEEXT) $(DESTDIR)$(bindir)/ugrep$(EXEEXT)
121+
@rm -f $(DESTDIR)$(bindir)/ugrep-indexer$(EXEEXT)
120122
@rm -f $(DESTDIR)$(bindir)/ug+ $(DESTDIR)$(bindir)/ugrep+
121123
@rm -rf $(DESTDIR)$(datadir)/ugrep
122124

Makefile.in

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -284,14 +284,12 @@ DEPDIR = @DEPDIR@
284284
ECHO_C = @ECHO_C@
285285
ECHO_N = @ECHO_N@
286286
ECHO_T = @ECHO_T@
287-
EGREP = @EGREP@
288287
ETAGS = @ETAGS@
289288
EXEEXT = @EXEEXT@
290289
EXTRA_CFLAGS = @EXTRA_CFLAGS@
291290
FISH_COMPLETION_CFLAGS = @FISH_COMPLETION_CFLAGS@
292291
FISH_COMPLETION_DIR = @FISH_COMPLETION_DIR@
293292
FISH_COMPLETION_LIBS = @FISH_COMPLETION_LIBS@
294-
GREP = @GREP@
295293
GREP_PATH = @GREP_PATH@
296294
HAVE_CXX11 = @HAVE_CXX11@
297295
INSTALL = @INSTALL@
@@ -388,7 +386,7 @@ top_build_prefix = @top_build_prefix@
388386
top_builddir = @top_builddir@
389387
top_srcdir = @top_srcdir@
390388
SUBDIRS = lib $(am__append_1) src
391-
man1_MANS = man/ugrep.1
389+
man1_MANS = man/ugrep.1 man/ugrep-indexer.1
392390
EXTRA_DIST = README.md LICENSE.txt CONTRIBUTING.md CODE_OF_CONDUCT.md
393391
UGREP = $(shell pwd)/$(top_builddir)/bin/ugrep$(EXEEXT)
394392
CONFIGH = $(shell pwd)/$(top_builddir)/config.h
@@ -1005,10 +1003,11 @@ all-local: cp2bin
10051003
.PHONY: cp2bin
10061004

10071005
# 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)
1008-
cp2bin: $(top_builddir)/src/ugrep$(EXEEXT)
1006+
cp2bin: $(top_builddir)/src/ugrep$(EXEEXT) $(top_builddir)/src/ugrep-indexer$(EXEEXT)
10091007
@rm -f $(top_builddir)/bin/ugrep$(EXEEXT)
1008+
@rm -f $(top_builddir)/bin/ugrep-indexer$(EXEEXT)
10101009
@mkdir -p $(top_builddir)/bin && \
1011-
cp -f $< $(top_builddir)/bin/ugrep$(EXEEXT) && \
1010+
cp -f $^ $(top_builddir)/bin/ && \
10121011
cd $(top_builddir)/bin && \
10131012
rm -f ug$(EXEEXT) && \
10141013
cp -f ugrep$(EXEEXT) ug$(EXEEXT)
@@ -1091,6 +1090,7 @@ install-data-hook:
10911090

10921091
uninstall-hook:
10931092
@rm -f $(DESTDIR)$(bindir)/ug$(EXEEXT) $(DESTDIR)$(bindir)/ugrep$(EXEEXT)
1093+
@rm -f $(DESTDIR)$(bindir)/ugrep-indexer$(EXEEXT)
10941094
@rm -f $(DESTDIR)$(bindir)/ug+ $(DESTDIR)$(bindir)/ugrep+
10951095
@rm -rf $(DESTDIR)$(datadir)/ugrep
10961096

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ Development roadmap
2424

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

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

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

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

5396+
SEE ALSO
5397+
ugrep-indexer(1), grep(1), zgrep(1).
5398+
53985399
BUGS
53995400
Report bugs at: <https://github.com/Genivia/ugrep/issues>
54005401

5401-
SEE ALSO
5402-
grep(1).
5403-
54045402

54055403

5406-
ugrep 5.1.4 April 9, 2024 UGREP(1)
5404+
ugrep 6.0.0 May 6, 2024 UGREP(1)
54075405

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

aclocal.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
1515
m4_ifndef([AC_AUTOCONF_VERSION],
1616
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17-
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
18-
[m4_warning([this file was generated for autoconf 2.71.
17+
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.72],,
18+
[m4_warning([this file was generated for autoconf 2.72.
1919
You have another version of autoconf. It may work, but is not guaranteed to.
2020
If you have problems, you may need to regenerate the build system entirely.
2121
To do so, use the procedure documented by the package, typically 'autoreconf'.])])

bin/win32/ug.exe

33.5 KB
Binary file not shown.

bin/win32/ugrep-indexer.exe

588 KB
Binary file not shown.

bin/win32/ugrep.exe

33.5 KB
Binary file not shown.

bin/win64/ug.exe

35.5 KB
Binary file not shown.

bin/win64/ugrep-indexer.exe

673 KB
Binary file not shown.

bin/win64/ugrep.exe

35.5 KB
Binary file not shown.

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ fi
9999

100100
echo
101101
echo "ugrep was successfully built in $(pwd)/bin and tested:"
102-
ls -l bin/ug bin/ug+ bin/ugrep bin/ugrep+
102+
ls -l bin/ug bin/ug+ bin/ugrep bin/ugrep+ bin/ugrep-indexer
103103
echo
104-
echo "Copy bin/ug, bin/ug+, bin/ugrep, and bin/ugrep+ to a bin/ on your PATH"
104+
echo "Copy bin/ug, bin/ug+, bin/ugrep, bin/ugrep+, and bin/ugrep-indexer to a bin/ on your PATH"
105105
echo
106106
echo "Or install the ugrep tools on your system by executing:"
107107
echo "sudo make install"

config.h.in

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@
99
/* define if the Boost::Regex library is available */
1010
#undef HAVE_BOOST_REGEX
1111

12-
/* Define to 1 if you have the `cpuset_setaffinity' function. */
12+
/* Define to 1 if you have the 'cpuset_setaffinity' function. */
1313
#undef HAVE_CPUSET_SETAFFINITY
1414

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

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

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

25-
/* Define to 1 if you have the `getpagesize' function. */
25+
/* Define to 1 if you have the 'getpagesize' function. */
2626
#undef HAVE_GETPAGESIZE
2727

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

52-
/* Define to 1 if you have a working `mmap' system call. */
52+
/* Define to 1 if you have a working 'mmap' system call. */
5353
#undef HAVE_MMAP
5454

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

5858
/* Define if O_NOATIME open flag is supported */
@@ -67,25 +67,25 @@
6767
/* Have PTHREAD_PRIO_INHERIT. */
6868
#undef HAVE_PTHREAD_PRIO_INHERIT
6969

70-
/* Define to 1 if you have the `pthread_setaffinity_np' function. */
70+
/* Define to 1 if you have the 'pthread_setaffinity_np' function. */
7171
#undef HAVE_PTHREAD_SETAFFINITY_NP
7272

73-
/* Define to 1 if you have the `pthread_setschedprio' function. */
73+
/* Define to 1 if you have the 'pthread_setschedprio' function. */
7474
#undef HAVE_PTHREAD_SETSCHEDPRIO
7575

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

79-
/* Define to 1 if you have the `sched_setaffinity' function. */
79+
/* Define to 1 if you have the 'sched_setaffinity' function. */
8080
#undef HAVE_SCHED_SETAFFINITY
8181

82-
/* Define to 1 if you have the `setpriority' function. */
82+
/* Define to 1 if you have the 'setpriority' function. */
8383
#undef HAVE_SETPRIORITY
8484

85-
/* Define to 1 if you have the `statfs' function. */
85+
/* Define to 1 if you have the 'statfs' function. */
8686
#undef HAVE_STATFS
8787

88-
/* Define to 1 if you have the `statvfs' function. */
88+
/* Define to 1 if you have the 'statvfs' function. */
8989
#undef HAVE_STATVFS
9090

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

106-
/* Define to 1 if `d_ino' is a member of `struct dirent'. */
106+
/* Define to 1 if 'd_ino' is a member of 'struct dirent'. */
107107
#undef HAVE_STRUCT_DIRENT_D_INO
108108

109-
/* Define to 1 if `d_type' is a member of `struct dirent'. */
109+
/* Define to 1 if 'd_type' is a member of 'struct dirent'. */
110110
#undef HAVE_STRUCT_DIRENT_D_TYPE
111111

112-
/* Define to 1 if `st_atim' is a member of `struct stat'. */
112+
/* Define to 1 if 'st_atim' is a member of 'struct stat'. */
113113
#undef HAVE_STRUCT_STAT_ST_ATIM
114114

115-
/* Define to 1 if `st_atimespec' is a member of `struct stat'. */
115+
/* Define to 1 if 'st_atimespec' is a member of 'struct stat'. */
116116
#undef HAVE_STRUCT_STAT_ST_ATIMESPEC
117117

118-
/* Define to 1 if `st_ctim' is a member of `struct stat'. */
118+
/* Define to 1 if 'st_ctim' is a member of 'struct stat'. */
119119
#undef HAVE_STRUCT_STAT_ST_CTIM
120120

121-
/* Define to 1 if `st_ctimespec' is a member of `struct stat'. */
121+
/* Define to 1 if 'st_ctimespec' is a member of 'struct stat'. */
122122
#undef HAVE_STRUCT_STAT_ST_CTIMESPEC
123123

124-
/* Define to 1 if `st_mtim' is a member of `struct stat'. */
124+
/* Define to 1 if 'st_mtim' is a member of 'struct stat'. */
125125
#undef HAVE_STRUCT_STAT_ST_MTIM
126126

127-
/* Define to 1 if `st_mtimespec' is a member of `struct stat'. */
127+
/* Define to 1 if 'st_mtimespec' is a member of 'struct stat'. */
128128
#undef HAVE_STRUCT_STAT_ST_MTIMESPEC
129129

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

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

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

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

@@ -187,16 +187,16 @@
187187
your system. */
188188
#undef PTHREAD_CREATE_JOINABLE
189189

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

195195
/* Version number of package */
196196
#undef VERSION
197197

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

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

0 commit comments

Comments
 (0)