sed -i "s|$old|$new|g" /etc/myconfig
Created
September 4, 2012 03:26
-
-
Save sn00011/3616213 to your computer and use it in GitHub Desktop.
Search and replace with Sed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment