Skip to content

Instantly share code, notes, and snippets.

@yarick
Created August 19, 2018 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yarick/c375cf753930710b708d16a7e2a8b17d to your computer and use it in GitHub Desktop.
Save yarick/c375cf753930710b708d16a7e2a8b17d to your computer and use it in GitHub Desktop.
find and replace with sed
find baseline/controls/* -name *\.rb -type f -exec sed -i '' 's/"4"\]/"Rev_4"\]/' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment