Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
genivia-inc committed Oct 26, 2024
1 parent fc26ea0 commit 0b80020
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -739,25 +739,21 @@ where:

Commonly-used aliases to add to `.bashrc` to increase productivity:

alias uq = 'ug -Q' # short & quick query TUI (interactive, uses .ugrep config)
alias ux = 'ug -UX' # short & quick binary pattern search (uses .ugrep config)
alias uz = 'ug -z' # short & quick compressed files and archives search (uses .ugrep config)
alias uq = 'ug -Q' # interactive TUI search (uses .ugrep config)
alias uz = 'ug -z' # compressed files and archives search (uses .ugrep config)
alias ux = 'ug -U --hexdump' # binary pattern search (uses .ugrep config)

alias ugit = 'ug -R --ignore-files' # works like git-grep & define your preferences in .ugrep config

alias grep = 'ugrep -G' # search with basic regular expressions (BRE)
alias egrep = 'ugrep -E' # search with extended regular expressions (ERE)
alias fgrep = 'ugrep -F' # find string(s)
alias pgrep = 'ugrep -P' # search with Perl regular expressions
alias xgrep = 'ugrep -W' # search (ERE) and output text or hex for binary
alias grep = 'ug -G' # search with basic regular expressions (BRE) like grep
alias egrep = 'ug -E' # search with extended regular expressions (ERE) like egrep
alias fgrep = 'ug -F' # find string(s) like fgrep
alias zgrep = 'ug -zG' # search compressed files and archives with BRE
alias zegrep = 'ug -zE' # search compressed files and archives with ERE
alias zfgrep = 'ug -zF' # find string(s) in compressed files and/or archives

alias zgrep = 'ugrep -zG' # search compressed files and archives with BRE
alias zegrep = 'ugrep -zE' # search compressed files and archives with ERE
alias zfgrep = 'ugrep -zF' # find string(s) in compressed files and/or archives
alias zpgrep = 'ugrep -zP' # search compressed files and archives with Perl regular expressions
alias zxgrep = 'ugrep -zW' # search (ERE) compressed files/archives and output text or hex for binary

alias xdump = 'ugrep -X ""' # hexdump files without searching
alias xdump = 'ugrep -X ""' # hexdump files without searching (don't use .ugrep config)
alias zmore = 'ugrep+ -z -I -+ --pager ""' # view compressed, archived and regular files (don't use .ugrep config)

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

Expand Down

0 comments on commit 0b80020

Please sign in to comment.