Skip to content

Instantly share code, notes, and snippets.

@werdan
Created August 16, 2016 15:09
Show Gist options
  • Save werdan/82cfaf6cc913c5c2131304a79ef6fb4e to your computer and use it in GitHub Desktop.
Save werdan/82cfaf6cc913c5c2131304a79ef6fb4e to your computer and use it in GitHub Desktop.
sed not accepting regexp?
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