Skip to content

Add r flag to fix issue #13#16

Open
deepak-pro wants to merge 1 commit into
1ndianl33t:masterfrom
deepak-pro:master
Open

Add r flag to fix issue #13#16
deepak-pro wants to merge 1 commit into
1ndianl33t:masterfrom
deepak-pro:master

Conversation

@deepak-pro
Copy link
Copy Markdown

As the r flag(recursive file searching) was missing in the JSON file, running gf was causing an error and output is "grep: .: Is a directory". So I added r flag on each pattern file.

Screenshot 2020-09-30 at 3 00 01 PM

@juniorhero
Copy link
Copy Markdown

this creates error when it is piped with urls

seems this tool is broken

@deepak-pro
Copy link
Copy Markdown
Author

Do you mean, it creates an error when the r flag is added or without it?

@s4s0r1
Copy link
Copy Markdown

s4s0r1 commented Jan 18, 2021

try changing it with -HnriE

@arthur4ires
Copy link
Copy Markdown

arthur4ires commented May 5, 2021

grep -RiIl '"-iE"' | xargs sed -i 's/"-iE"/"-HnriE"/g'

So it is possible to modify all files at once

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants