(Created page with "{{QA/Test_Case |description=ripgrep a command line tool in the tradition of grep. It is optimized for searching large directories of files using parallelism out of the box. It...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=ripgrep a command line tool in the tradition of grep. It is optimized for searching large directories of files using parallelism out of the box. It recursively searches your current directory by default. | |description=ripgrep a command line tool in the tradition of grep. It is optimized for searching large directories of files using parallelism out of the box. It recursively searches your current directory by default. This utility automatically skips files matching a pattern in your .gitignore files (this option can be disabled). ripgrep supports file type filtering and the full gamut of Unicode, while remaining fast. It can even automatically search compressed files. | ||
|setup= | |setup= | ||
|actions= | |actions= | ||
# Execute with sudo or root <code> dnf install ripgrep </code> | |||
# | # Create one or multiple files with some word in common | ||
# | # Execute <code> rg -i [word] </code> | ||
# | |||
|results= | |results= | ||
The following must be true to consider this a successful test run. Be brief ... but explicit. | The following must be true to consider this a successful test run. Be brief ... but explicit. | ||
# Step #1 | # Step #1 should execute without error | ||
# | # Step #3 should show the file name, the searched text and corresponding line numbers of matches found. | ||
# | |optional=Download compressed files and use rg to search for something. | ||
|optional= | |||
}} | }} |
Latest revision as of 05:25, 3 April 2018
Description
ripgrep a command line tool in the tradition of grep. It is optimized for searching large directories of files using parallelism out of the box. It recursively searches your current directory by default. This utility automatically skips files matching a pattern in your .gitignore files (this option can be disabled). ripgrep supports file type filtering and the full gamut of Unicode, while remaining fast. It can even automatically search compressed files.
How to test
- Execute with sudo or root
dnf install ripgrep
- Create one or multiple files with some word in common
- Execute
rg -i [word]
Expected Results
The following must be true to consider this a successful test run. Be brief ... but explicit.
- Step #1 should execute without error
- Step #3 should show the file name, the searched text and corresponding line numbers of matches found.
Optional
Download compressed files and use rg to search for something.