Skip to content

Does Ugrep support Searching across files #422

Answered by genivia-inc
sharrythakur asked this question in Q&A
Discussion options

You must be logged in to vote

This can be done with a bash script to search for one pattern in a file in a directory and when found in a directory then search for the other pattern in that directory. Grep tools exit with code 0 when a file matches so it can be used in a if-then to invoke the second grep.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by genivia-inc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants