Skip to content

Instantly share code, notes, and snippets.

@chrisbodhi
Created September 4, 2018 21:21
Show Gist options
  • Save chrisbodhi/bc077cbefdb644d6f1b0ac44c252f074 to your computer and use it in GitHub Desktop.
Save chrisbodhi/bc077cbefdb644d6f1b0ac44c252f074 to your computer and use it in GitHub Desktop.
Replace the string "name" with "displayName" using sed
➜ sed -i "" -e "s/name/displayName/" fileName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment