Neat little search and replace trick I used today with ripgrep:
rg -l $YOUR_REGEX | xargs sed -i "s/$YOUR_REGEX/$REPLACEMENT_TEXT/g"
Finds all files that match your regex and feeds only the filenames to xargs to them run the sed replacement on the file globally
-
-
Ah neat. I didn't that's why this one worked for me!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.