Created
March 7, 2018 17:57
-
-
Save everm1nd/42e70b72db35a085aec9682a12a2f99d to your computer and use it in GitHub Desktop.
sed-replace
This file contains 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
echo '{something+}' | sed -E 's/\{([A-Za-z0-9\-]+)\+\}/{\1}/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment