Created
August 16, 2016 15:09
-
-
Save werdan/82cfaf6cc913c5c2131304a79ef6fb4e to your computer and use it in GitHub Desktop.
sed not accepting regexp?
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
If you think sed is not working properly, just add quotes | |
echo "123123,1.0000" | sed 's/\([1-9]\).0000/\1/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment