Forrest logo
back to context overview

ugrep

List of commands for ugrep:

  • ugrep:tldr:0b56a ugrep: Search the current directory recursively for files containing a regex search pattern.
    $ ugrep "${search_pattern}"
    try on your machine
    explain this command
  • ugrep:tldr:51b48 ugrep: Search only files whose filenames match a specific glob pattern.
    $ ugrep --glob="${glob_pattern}" "${search_pattern}"
    try on your machine
    explain this command
  • ugrep:tldr:5ed04 ugrep: Also search compressed files, `zip` and `tar` archives recursively.
    $ ugrep --decompress "${search_pattern}"
    try on your machine
    explain this command
  • ugrep:tldr:704e4 ugrep: Search in all files in the current directory recursively and print the name of each matching file.
    $ ugrep --files-with-matches "${search_pattern}"
    try on your machine
    explain this command
  • ugrep:tldr:74697 ugrep: Fuzzy search files with up to 3 extra, missing or mismatching characters in the pattern.
    $ ugrep --fuzzy=${3} "${search_pattern}"
    try on your machine
    explain this command
  • ugrep:tldr:b2c70 ugrep: Search in a specific file or in all files in a specific directory, showing line numbers of matches.
    $ ugrep --line-number "${search_pattern}" ${filename_or_directory}
    try on your machine
    explain this command
  • ugrep:tldr:e6306 ugrep: Search only C++ source files (use `--file-type=list` to list all file types).
    $ ugrep --file-type=cpp "${search_pattern}"
    try on your machine
    explain this command
  • ugrep:tldr:fad45 ugrep: Start a query TUI to search files in the current directory recursively (CTRL-Z for help).
    $ ugrep --query
    try on your machine
    explain this command
back to context overview