Search only on files that match a pattern #715
Answered
by
HerringtonDarkholme
marcelarie
asked this question in
Q&A
-
For example something like sg -p 'import $A from "$B"' -r 'export { default } from "$B"' -l ts --file "index.ts" |
Beta Was this translation helpful? Give feedback.
Answered by
HerringtonDarkholme
Dec 19, 2023
Replies: 1 comment
-
Hi, you can use bash glob pattern. sg -p 'pattern' -l ts ./**/index.ts |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
marcelarie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, you can use bash glob pattern.
https://mywiki.wooledge.org/glob