Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4798,13 +4798,13 @@ in markdown:
may be repeated. The possible file types can be (-tlist displays
a list): `actionscript', `ada', `adoc', `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',
`c', `c3', `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', `seed7', `shell',
`Shell', `smalltalk', `sql', `svg', `swift', `tcl', `tex', `text',
Expand Down Expand Up @@ -5787,4 +5787,3 @@ the [man page](#man). If you can't find it there and it looks like a bug, then
reports are quickly addressed.

*Copyright (c) Robert van Engelen, 2025*

5 changes: 2 additions & 3 deletions completions/bash/ug
Original file line number Diff line number Diff line change
Expand Up @@ -347,13 +347,13 @@ END

_comp_cmd_ugrep_file_type()
{
COMPREPLY=( $(compgen -W "actionscript ada adoc 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 seed7 shell Shell smalltalk sql svg swift tcl tex text tiff Tiff tt typescript verilog vhdl vim xml Xml yacc yaml zig" -- $cur) )
COMPREPLY=( $(compgen -W "actionscript ada adoc asm asp aspx autoconf automake awk Awk basic batch bison c c3 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 seed7 shell Shell smalltalk sql svg swift tcl tex text tiff Tiff tt typescript verilog vhdl vim xml Xml yacc yaml zig" -- $cur) )
compopt +o nospace
}

_comp_cmd_ugrep_file_type_t()
{
COMPREPLY=( $(compgen -W "-tactionscript -tada -tadoc -tasm -tasp -taspx -tautoconf -tautomake -tawk -tAwk -tbasic -tbatch -tbison -tc -tc++ -tclojure -tcpp -tcsharp -tcss -tcsv -tdart -tDart -tdelphi -telisp -telixir -terlang -tfortran -tgif -tGif -tgo -tgroovy -tgsp -thaskell -thtml -tjade -tjava -tjpeg -tJpeg -tjs -tjson -tjsp -tjulia -tkotlin -tless -tlex -tlisp -tlua -tm4 -tmake -tmarkdown -tmatlab -tnode -tNode -tobjc -tobjc++ -tocaml -tparrot -tpascal -tpdf -tPdf -tperl -tPerl -tphp -tPhp -tpng -tPng -tprolog -tpython -tPython -tr -trpm -tRpm -trst -trtf -tRtf -truby -tRuby -trust -tscala -tscheme -tseed7 -tshell -tShell -tsmalltalk -tsql -tsvg -tswift -ttcl -ttex -ttext -ttiff -tTiff -ttt -ttypescript -tverilog -tvhdl -tvim -txml -tXml -tyacc -tyaml -tzig" -- $cur) )
COMPREPLY=( $(compgen -W "-tactionscript -tada -tadoc -tasm -tasp -taspx -tautoconf -tautomake -tawk -tAwk -tbasic -tbatch -tbison -tc -tc3 -tc++ -tclojure -tcpp -tcsharp -tcss -tcsv -tdart -tDart -tdelphi -telisp -telixir -terlang -tfortran -tgif -tGif -tgo -tgroovy -tgsp -thaskell -thtml -tjade -tjava -tjpeg -tJpeg -tjs -tjson -tjsp -tjulia -tkotlin -tless -tlex -tlisp -tlua -tm4 -tmake -tmarkdown -tmatlab -tnode -tNode -tobjc -tobjc++ -tocaml -tparrot -tpascal -tpdf -tPdf -tperl -tPerl -tphp -tPhp -tpng -tPng -tprolog -tpython -tPython -tr -trpm -tRpm -trst -trtf -tRtf -truby -tRuby -trust -tscala -tscheme -tseed7 -tshell -tShell -tsmalltalk -tsql -tsvg -tswift -ttcl -ttex -ttext -ttiff -tTiff -ttt -ttypescript -tverilog -tvhdl -tvim -txml -tXml -tyacc -tyaml -tzig" -- $cur) )
compopt +o nospace
}

Expand All @@ -362,4 +362,3 @@ _comp_cmd_ugrep_encoding()
COMPREPLY=( $(compgen -W "binary ASCII UTF-8 UTF-16 UTF-16BE UTF-16LE UTF-32 UTF-32BE UTF-32LE LATIN1 ISO-8859-1 ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6 ISO-8859-7 ISO-8859-8 ISO-8859-9 ISO-8859-10 ISO-8859-11 ISO-8859-13 ISO-8859-14 ISO-8859-15 ISO-8859-16 MAC MACROMAN EBCDIC CP437 CP850 CP858 CP1250 CP1251 CP1252 CP1253 CP1254 CP1255 CP1256 CP1257 CP1258 KOI8-R KOI8-U KOI8-RU null-data" -- $cur) )
compopt +o nospace
}

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+ -l split -d 'Split the -Q query TUI screen on startup'
complete -c ug+ -l sort -xa 'name best size changed created used rname rbest rsize rchanged rcreated rused' -d 'Displays matching files in the order specified by KEY in recursive searches'
complete -c ug+ -l stats -d 'Output statistics on the number of files and directories searched and the inclusion and exclusion constraints applied'
complete -c ug+ -s T -l initial-tab -d 'Add a tab space to separate the file name, line number, column number and byte offset with the matched line'
complete -c ug+ -s t -l file-type -xa 'actionscript ada adoc 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 seed7 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+ -s t -l file-type -xa 'actionscript ada adoc asm asp aspx autoconf automake awk Awk basic batch bison c c3 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 seed7 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 for option -c or --count, -l or --files-with-matches, -L or --files-without-match'
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 -l split -d 'Split the -Q query TUI screen on startup'
complete -c ug -l sort -xa 'name best size changed created used rname rbest rsize rchanged rcreated rused' -d 'Displays matching files in the order specified by KEY in recursive searches'
complete -c ug -l stats -d 'Output statistics on the number of files and directories searched and the inclusion and exclusion constraints applied'
complete -c ug -s T -l initial-tab -d 'Add a tab space to separate the file name, line number, column number and byte offset with the matched line'
complete -c ug -s t -l file-type -xa 'actionscript ada adoc 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 seed7 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 -s t -l file-type -xa 'actionscript ada adoc asm asp aspx autoconf automake awk Awk basic batch bison c c3 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 seed7 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 for option -c or --count, -l or --files-with-matches, -L or --files-without-match'
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+ -l split -d 'Split the -Q query TUI screen on startup'
complete -c ugrep+ -l sort -xa 'name best size changed created used rname rbest rsize rchanged rcreated rused' -d 'Displays matching files in the order specified by KEY in recursive searches'
complete -c ugrep+ -l stats -d 'Output statistics on the number of files and directories searched and the inclusion and exclusion constraints applied'
complete -c ugrep+ -s T -l initial-tab -d 'Add a tab space to separate the file name, line number, column number and byte offset with the matched line'
complete -c ugrep+ -s t -l file-type -xa 'actionscript ada adoc 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 seed7 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+ -s t -l file-type -xa 'actionscript ada adoc asm asp aspx autoconf automake awk Awk basic batch bison c c3 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 seed7 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 for option -c or --count, -l or --files-with-matches, -L or --files-without-match'
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 -l split -d 'Split the -Q query TUI screen on startup'
complete -c ugrep -l sort -xa 'name best size changed created used rname rbest rsize rchanged rcreated rused' -d 'Displays matching files in the order specified by KEY in recursive searches'
complete -c ugrep -l stats -d 'Output statistics on the number of files and directories searched and the inclusion and exclusion constraints applied'
complete -c ugrep -s T -l initial-tab -d 'Add a tab space to separate the file name, line number, column number and byte offset with the matched line'
complete -c ugrep -s t -l file-type -xa 'actionscript ada adoc 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 seed7 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 -s t -l file-type -xa 'actionscript ada adoc asm asp aspx autoconf automake awk Awk basic batch bison c c3 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 seed7 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 for option -c or --count, -l or --files-with-matches, -L or --files-without-match'
Expand Down
2 changes: 1 addition & 1 deletion completions/zsh/_ug
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ $matchers{-P,--perl-regexp}'[Interpret PATTERN as a Perl regular expression usin
--sort=-'[Displays matching files in the order specified by KEY in recursive searches]:KEY:(name best size changed created used rname rbest rsize rchanged rcreated rused)'
--stats'[Output statistics on the number of files and directories searched and the inclusion and exclusion constraints applied]'
{-T,--initial-tab}'[Add a tab space to separate the file name, line number, column number and byte offset with the matched line]'
'(1)*'{-t,--file-type=-}'[Search only files associated with TYPES, a comma-separated list of file types]:TYPES:(actionscript ada adoc 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 seed7 shell Shell smalltalk sql svg swift tcl tex text tiff Tiff tt typescript verilog vhdl vim xml Xml yacc yaml zig )'
'(1)*'{-t,--file-type=-}'[Search only files associated with TYPES, a comma-separated list of file types]:TYPES:(actionscript ada adoc asm asp aspx autoconf automake awk Awk basic batch bison c c3 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 seed7 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 for option -c or --count, -l or --files-with-matches, -L or --files-without-match]'
Expand Down
2 changes: 1 addition & 1 deletion completions/zsh/_ug+
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ $matchers{-P,--perl-regexp}'[Interpret PATTERN as a Perl regular expression usin
--sort=-'[Displays matching files in the order specified by KEY in recursive searches]:KEY:(name best size changed created used rname rbest rsize rchanged rcreated rused)'
--stats'[Output statistics on the number of files and directories searched and the inclusion and exclusion constraints applied]'
{-T,--initial-tab}'[Add a tab space to separate the file name, line number, column number and byte offset with the matched line]'
'(1)*'{-t,--file-type=-}'[Search only files associated with TYPES, a comma-separated list of file types]:TYPES:(actionscript ada adoc 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 seed7 shell Shell smalltalk sql svg swift tcl tex text tiff Tiff tt typescript verilog vhdl vim xml Xml yacc yaml zig )'
'(1)*'{-t,--file-type=-}'[Search only files associated with TYPES, a comma-separated list of file types]:TYPES:(actionscript ada adoc asm asp aspx autoconf automake awk Awk basic batch bison c c3 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 seed7 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 for option -c or --count, -l or --files-with-matches, -L or --files-without-match]'
Expand Down
Loading
Loading