Skip to content

Commit

Permalink
released 5.1.2
Browse files Browse the repository at this point in the history
cumulative update
  • Loading branch information
genivia-inc committed Apr 3, 2024
1 parent 981daf4 commit 38e9d91
Show file tree
Hide file tree
Showing 18 changed files with 44 additions and 50 deletions.
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4101,8 +4101,7 @@ in markdown:
-o or -u is specified, counts the number of patterns matched. If
-v is specified, counts the number of non-matching lines. If -m1,
(with a comma or --min-count=1) is specified, counts only matching
files without outputting zero matches. If --tree is specified,
outputs directories in a tree-like format.
files without outputting zero matches.

--color[=WHEN], --colour[=WHEN]
Mark up the matching text with the colors specified with option
Expand Down Expand Up @@ -4470,16 +4469,14 @@ in markdown:
Only the names of files not containing selected lines are written
to standard output. Pathnames are listed once per file searched.
If the standard input is searched, the string ``(standard input)''
is written. If --tree is specified, outputs directories in a
tree-like format.
is written.

-l, --files-with-matches
Only the names of files containing selected lines are written to
standard output. ugrep will only search a file until a match has
been found, making searches potentially less expensive. Pathnames
are listed once per file searched. If the standard input is
searched, the string ``(standard input)'' is written. If --tree
is specified, outputs directories in a tree-like format.
searched, the string ``(standard input)'' is written.

--label=LABEL
Displays the LABEL value when input is read from standard input
Expand Down Expand Up @@ -4710,9 +4707,10 @@ in markdown:
a match if specified, otherwise TAG. The default is `___'.

--tree, -^
Output directories with matching files in a tree-like format when
options -c, -l or -L are used. This option is enabled by --pretty
when the output is sent to a terminal.
Output directories with matching files in a tree-like format for
option -c or --count, -l or --files-with-matches, -L or
--files-without-match. This option is enabled by --pretty when
the output is sent to a terminal.

-U, --ascii, --binary
Disables Unicode matching for ASCII and binary matching. PATTERN
Expand Down Expand Up @@ -5403,7 +5401,7 @@ in markdown:



ugrep 5.5.1 March 11, 2024 UGREP(1)
ugrep 5.1.2 April 3, 2024 UGREP(1)

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

Expand Down
Binary file modified bin/win32/ug.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 modified bin/win64/ugrep.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion completions/fish/ug+.fish
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ complete -c ug+ -s T -l initial-tab -d 'Add a tab space to separate the file nam
complete -c ug+ -s t -l file-type -xa 'actionscript ada asm asp aspx autoconf automake awk Awk basic batch bison c c++ clojure cpp csharp css csv dart Dart delphi elisp elixir erlang fortran gif Gif go groovy gsp haskell html jade java jpeg Jpeg js json jsp julia kotlin less lex lisp lua m4 make markdown matlab node Node objc objc++ ocaml parrot pascal pdf Pdf perl Perl php Php png Png prolog python Python r rpm Rpm rst rtf Rtf ruby Ruby rust scala scheme shell Shell smalltalk sql svg swift tcl tex text tiff Tiff tt typescript verilog vhdl vim xml Xml yacc yaml zig ' -d 'Search only files associated with TYPES, a comma-separated list of file types'
complete -c ug+ -l tabs -d 'Set the tab size to NUM to expand tabs for option -k'
complete -c ug+ -l tag -d 'Disables colors to mark up matches with TAG'
complete -c ug+ -l tree -s '^' -d 'Output directories with matching files in a tree-like format when options -c, -l or -L are used'
complete -c ug+ -l tree -s '^' -d 'Output directories with matching files in a tree-like format for option -c or --count, -l or --files-with-matches, -L or --files-without-match'
complete -c ug+ -s U -l ascii -l binary -d 'Disables Unicode matching for ASCII and binary matching'
complete -c ug+ -s u -l ungroup -d 'Do not group multiple pattern matches on the same matched line'
complete -c ug+ -s V -l version -d 'Display version with linked libraries and exit'
Expand Down
2 changes: 1 addition & 1 deletion completions/fish/ug.fish
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ complete -c ug -s T -l initial-tab -d 'Add a tab space to separate the file name
complete -c ug -s t -l file-type -xa 'actionscript ada asm asp aspx autoconf automake awk Awk basic batch bison c c++ clojure cpp csharp css csv dart Dart delphi elisp elixir erlang fortran gif Gif go groovy gsp haskell html jade java jpeg Jpeg js json jsp julia kotlin less lex lisp lua m4 make markdown matlab node Node objc objc++ ocaml parrot pascal pdf Pdf perl Perl php Php png Png prolog python Python r rpm Rpm rst rtf Rtf ruby Ruby rust scala scheme shell Shell smalltalk sql svg swift tcl tex text tiff Tiff tt typescript verilog vhdl vim xml Xml yacc yaml zig ' -d 'Search only files associated with TYPES, a comma-separated list of file types'
complete -c ug -l tabs -d 'Set the tab size to NUM to expand tabs for option -k'
complete -c ug -l tag -d 'Disables colors to mark up matches with TAG'
complete -c ug -l tree -s '^' -d 'Output directories with matching files in a tree-like format when options -c, -l or -L are used'
complete -c ug -l tree -s '^' -d 'Output directories with matching files in a tree-like format for option -c or --count, -l or --files-with-matches, -L or --files-without-match'
complete -c ug -s U -l ascii -l binary -d 'Disables Unicode matching for ASCII and binary matching'
complete -c ug -s u -l ungroup -d 'Do not group multiple pattern matches on the same matched line'
complete -c ug -s V -l version -d 'Display version with linked libraries and exit'
Expand Down
2 changes: 1 addition & 1 deletion completions/fish/ugrep+.fish
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ complete -c ugrep+ -s T -l initial-tab -d 'Add a tab space to separate the file
complete -c ugrep+ -s t -l file-type -xa 'actionscript ada asm asp aspx autoconf automake awk Awk basic batch bison c c++ clojure cpp csharp css csv dart Dart delphi elisp elixir erlang fortran gif Gif go groovy gsp haskell html jade java jpeg Jpeg js json jsp julia kotlin less lex lisp lua m4 make markdown matlab node Node objc objc++ ocaml parrot pascal pdf Pdf perl Perl php Php png Png prolog python Python r rpm Rpm rst rtf Rtf ruby Ruby rust scala scheme shell Shell smalltalk sql svg swift tcl tex text tiff Tiff tt typescript verilog vhdl vim xml Xml yacc yaml zig ' -d 'Search only files associated with TYPES, a comma-separated list of file types'
complete -c ugrep+ -l tabs -d 'Set the tab size to NUM to expand tabs for option -k'
complete -c ugrep+ -l tag -d 'Disables colors to mark up matches with TAG'
complete -c ugrep+ -l tree -s '^' -d 'Output directories with matching files in a tree-like format when options -c, -l or -L are used'
complete -c ugrep+ -l tree -s '^' -d 'Output directories with matching files in a tree-like format for option -c or --count, -l or --files-with-matches, -L or --files-without-match'
complete -c ugrep+ -s U -l ascii -l binary -d 'Disables Unicode matching for ASCII and binary matching'
complete -c ugrep+ -s u -l ungroup -d 'Do not group multiple pattern matches on the same matched line'
complete -c ugrep+ -s V -l version -d 'Display version with linked libraries and exit'
Expand Down
2 changes: 1 addition & 1 deletion completions/fish/ugrep.fish
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ complete -c ugrep -s T -l initial-tab -d 'Add a tab space to separate the file n
complete -c ugrep -s t -l file-type -xa 'actionscript ada asm asp aspx autoconf automake awk Awk basic batch bison c c++ clojure cpp csharp css csv dart Dart delphi elisp elixir erlang fortran gif Gif go groovy gsp haskell html jade java jpeg Jpeg js json jsp julia kotlin less lex lisp lua m4 make markdown matlab node Node objc objc++ ocaml parrot pascal pdf Pdf perl Perl php Php png Png prolog python Python r rpm Rpm rst rtf Rtf ruby Ruby rust scala scheme shell Shell smalltalk sql svg swift tcl tex text tiff Tiff tt typescript verilog vhdl vim xml Xml yacc yaml zig ' -d 'Search only files associated with TYPES, a comma-separated list of file types'
complete -c ugrep -l tabs -d 'Set the tab size to NUM to expand tabs for option -k'
complete -c ugrep -l tag -d 'Disables colors to mark up matches with TAG'
complete -c ugrep -l tree -s '^' -d 'Output directories with matching files in a tree-like format when options -c, -l or -L are used'
complete -c ugrep -l tree -s '^' -d 'Output directories with matching files in a tree-like format for option -c or --count, -l or --files-with-matches, -L or --files-without-match'
complete -c ugrep -s U -l ascii -l binary -d 'Disables Unicode matching for ASCII and binary matching'
complete -c ugrep -s u -l ungroup -d 'Do not group multiple pattern matches on the same matched line'
complete -c ugrep -s V -l version -d 'Display version with linked libraries and exit'
Expand Down
2 changes: 1 addition & 1 deletion completions/zsh/_ug
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ local arguments=(
{-t,--file-type=-}'[Search only files associated with TYPES, a comma-separated list of file types]:TYPES:(actionscript ada asm asp aspx autoconf automake awk Awk basic batch bison c c++ clojure cpp csharp css csv dart Dart delphi elisp elixir erlang fortran gif Gif go groovy gsp haskell html jade java jpeg Jpeg js json jsp julia kotlin less lex lisp lua m4 make markdown matlab node Node objc objc++ ocaml parrot pascal pdf Pdf perl Perl php Php png Png prolog python Python r rpm Rpm rst rtf Rtf ruby Ruby rust scala scheme shell Shell smalltalk sql svg swift tcl tex text tiff Tiff tt typescript verilog vhdl vim xml Xml yacc yaml zig )'
--tabs'[Set the tab size to NUM to expand tabs for option -k]'
--tag'[Disables colors to mark up matches with TAG]'
{--tree,-^}'[Output directories with matching files in a tree-like format when options -c, -l or -L are used]'
{--tree,-^}'[Output directories with matching files in a tree-like format for option -c or --count, -l or --files-with-matches, -L or --files-without-match]'
{-U,--ascii,--binary}'[Disables Unicode matching for ASCII and binary matching]'
{-u,--ungroup}'[Do not group multiple pattern matches on the same matched line]'
{-V,--version}'[Display version with linked libraries and exit]'
Expand Down
2 changes: 1 addition & 1 deletion completions/zsh/_ug+
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ local arguments=(
{-t,--file-type=-}'[Search only files associated with TYPES, a comma-separated list of file types]:TYPES:(actionscript ada asm asp aspx autoconf automake awk Awk basic batch bison c c++ clojure cpp csharp css csv dart Dart delphi elisp elixir erlang fortran gif Gif go groovy gsp haskell html jade java jpeg Jpeg js json jsp julia kotlin less lex lisp lua m4 make markdown matlab node Node objc objc++ ocaml parrot pascal pdf Pdf perl Perl php Php png Png prolog python Python r rpm Rpm rst rtf Rtf ruby Ruby rust scala scheme shell Shell smalltalk sql svg swift tcl tex text tiff Tiff tt typescript verilog vhdl vim xml Xml yacc yaml zig )'
--tabs'[Set the tab size to NUM to expand tabs for option -k]'
--tag'[Disables colors to mark up matches with TAG]'
{--tree,-^}'[Output directories with matching files in a tree-like format when options -c, -l or -L are used]'
{--tree,-^}'[Output directories with matching files in a tree-like format for option -c or --count, -l or --files-with-matches, -L or --files-without-match]'
{-U,--ascii,--binary}'[Disables Unicode matching for ASCII and binary matching]'
{-u,--ungroup}'[Do not group multiple pattern matches on the same matched line]'
{-V,--version}'[Display version with linked libraries and exit]'
Expand Down
2 changes: 1 addition & 1 deletion completions/zsh/_ugrep
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ local arguments=(
{-t,--file-type=-}'[Search only files associated with TYPES, a comma-separated list of file types]:TYPES:(actionscript ada asm asp aspx autoconf automake awk Awk basic batch bison c c++ clojure cpp csharp css csv dart Dart delphi elisp elixir erlang fortran gif Gif go groovy gsp haskell html jade java jpeg Jpeg js json jsp julia kotlin less lex lisp lua m4 make markdown matlab node Node objc objc++ ocaml parrot pascal pdf Pdf perl Perl php Php png Png prolog python Python r rpm Rpm rst rtf Rtf ruby Ruby rust scala scheme shell Shell smalltalk sql svg swift tcl tex text tiff Tiff tt typescript verilog vhdl vim xml Xml yacc yaml zig )'
--tabs'[Set the tab size to NUM to expand tabs for option -k]'
--tag'[Disables colors to mark up matches with TAG]'
{--tree,-^}'[Output directories with matching files in a tree-like format when options -c, -l or -L are used]'
{--tree,-^}'[Output directories with matching files in a tree-like format for option -c or --count, -l or --files-with-matches, -L or --files-without-match]'
{-U,--ascii,--binary}'[Disables Unicode matching for ASCII and binary matching]'
{-u,--ungroup}'[Do not group multiple pattern matches on the same matched line]'
{-V,--version}'[Display version with linked libraries and exit]'
Expand Down
2 changes: 1 addition & 1 deletion completions/zsh/_ugrep+
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ local arguments=(
{-t,--file-type=-}'[Search only files associated with TYPES, a comma-separated list of file types]:TYPES:(actionscript ada asm asp aspx autoconf automake awk Awk basic batch bison c c++ clojure cpp csharp css csv dart Dart delphi elisp elixir erlang fortran gif Gif go groovy gsp haskell html jade java jpeg Jpeg js json jsp julia kotlin less lex lisp lua m4 make markdown matlab node Node objc objc++ ocaml parrot pascal pdf Pdf perl Perl php Php png Png prolog python Python r rpm Rpm rst rtf Rtf ruby Ruby rust scala scheme shell Shell smalltalk sql svg swift tcl tex text tiff Tiff tt typescript verilog vhdl vim xml Xml yacc yaml zig )'
--tabs'[Set the tab size to NUM to expand tabs for option -k]'
--tag'[Disables colors to mark up matches with TAG]'
{--tree,-^}'[Output directories with matching files in a tree-like format when options -c, -l or -L are used]'
{--tree,-^}'[Output directories with matching files in a tree-like format for option -c or --count, -l or --files-with-matches, -L or --files-without-match]'
{-U,--ascii,--binary}'[Disables Unicode matching for ASCII and binary matching]'
{-u,--ungroup}'[Do not group multiple pattern matches on the same matched line]'
{-V,--version}'[Display version with linked libraries and exit]'
Expand Down
20 changes: 10 additions & 10 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for ugrep 5.1.1.
# Generated by GNU Autoconf 2.71 for ugrep 5.1.2.
#
# Report bugs to <https://github.com/Genivia/ugrep/issues>.
#
Expand Down Expand Up @@ -613,8 +613,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='ugrep'
PACKAGE_TARNAME='ugrep'
PACKAGE_VERSION='5.1.1'
PACKAGE_STRING='ugrep 5.1.1'
PACKAGE_VERSION='5.1.2'
PACKAGE_STRING='ugrep 5.1.2'
PACKAGE_BUGREPORT='https://github.com/Genivia/ugrep/issues'
PACKAGE_URL='https://ugrep.com'

Expand Down Expand Up @@ -1414,7 +1414,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures ugrep 5.1.1 to adapt to many kinds of systems.
\`configure' configures ugrep 5.1.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1485,7 +1485,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of ugrep 5.1.1:";;
short | recursive ) echo "Configuration of ugrep 5.1.2:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1682,7 +1682,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
ugrep configure 5.1.1
ugrep configure 5.1.2
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2219,7 +2219,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by ugrep $as_me 5.1.1, which was
It was created by ugrep $as_me 5.1.2, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
Expand Down Expand Up @@ -3706,7 +3706,7 @@ fi

# Define the identity of the package.
PACKAGE='ugrep'
VERSION='5.1.1'
VERSION='5.1.2'


printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
Expand Down Expand Up @@ -11341,7 +11341,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by ugrep $as_me 5.1.1, which was
This file was extended by ugrep $as_me 5.1.2, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -11414,7 +11414,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
ugrep config.status 5.1.1
ugrep config.status 5.1.2
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([ugrep],[5.1.1],[https://github.com/Genivia/ugrep/issues],[ugrep],[https://ugrep.com])
AC_INIT([ugrep],[5.1.2],[https://github.com/Genivia/ugrep/issues],[ugrep],[https://ugrep.com])
AM_INIT_AUTOMAKE([foreign subdir-objects dist-xz no-dist-gzip])
AC_CONFIG_HEADERS([config.h])
AC_COPYRIGHT([Copyright (C) 2019-2024 Robert van Engelen, Genivia Inc.])
Expand Down
18 changes: 8 additions & 10 deletions man/ug.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH UGREP "1" "March 13, 2024" "ugrep 5.1.1" "User Commands"
.TH UGREP "1" "April 03, 2024" "ugrep 5.1.2" "User Commands"
.SH NAME
\fBugrep\fR, \fBug\fR -- file pattern searcher
.SH SYNOPSIS
Expand Down Expand Up @@ -224,8 +224,7 @@ Only a count of selected lines is written to standard output.
If \fB\-o\fR or \fB\-u\fR is specified, counts the number of patterns matched.
If \fB\-v\fR is specified, counts the number of non\-matching lines. If
\fB\-m\fR1, (with a comma or \fB\-\-min\-count\fR=1) is specified, counts only
matching files without outputting zero matches. If \fB\-\-tree\fR is
specified, outputs directories in a tree\-like format.
matching files without outputting zero matches.
.TP
\fB\-\-color\fR[=\fIWHEN\fR], \fB\-\-colour\fR[=\fIWHEN\fR]
Mark up the matching text with the colors specified with option
Expand Down Expand Up @@ -586,16 +585,14 @@ in counting columns, see also option \fB\-\-tabs\fR.
Only the names of files not containing selected lines are written
to standard output. Pathnames are listed once per file searched.
If the standard input is searched, the string ``(standard input)''
is written. If \fB\-\-tree\fR is specified, outputs directories in a
tree\-like format.
is written.
.TP
\fB\-l\fR, \fB\-\-files\-with\-matches\fR
Only the names of files containing selected lines are written to
standard output. ugrep will only search a file until a match has
been found, making searches potentially less expensive. Pathnames
are listed once per file searched. If the standard input is
searched, the string ``(standard input)'' is written. If \fB\-\-tree\fR is
specified, outputs directories in a tree\-like format.
searched, the string ``(standard input)'' is written.
.TP
\fB\-\-label\fR=\fILABEL\fR
Displays the LABEL value when input is read from standard input
Expand Down Expand Up @@ -824,9 +821,10 @@ Disables colors to mark up matches with TAG. END marks the end of
a match if specified, otherwise TAG. The default is `___'.
.TP
\fB\-\-tree\fR, \-^
Output directories with matching files in a tree\-like format when
options \fB\-c\fR, \fB\-l\fR or \fB\-L\fR are used. This option is enabled by \fB\-\-pretty\fR
when the output is sent to a terminal.
Output directories with matching files in a tree\-like format for
option \fB\-c\fR or \fB\-\-count\fR, \fB\-l\fR or \fB\-\-files\-with\-matches\fR, \fB\-L\fR or
\fB\-\-files\-without\-match\fR. This option is enabled by \fB\-\-pretty\fR when the
output is sent to a terminal.
.TP
\fB\-U\fR, \fB\-\-ascii\fR, \fB\-\-binary\fR
Disables Unicode matching for ASCII and binary matching. PATTERN
Expand Down
Loading

0 comments on commit 38e9d91

Please sign in to comment.