Created
June 6, 2016 22:31
-
-
Save ismaGNU/29b34d90b04315173165485f9355a269 to your computer and use it in GitHub Desktop.
Fast search and replace command line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ack -l 'pattern' | xargs perl -pi -E 's/pattern/replace/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment