Skip to content

Instantly share code, notes, and snippets.

@ento
Created September 27, 2013 12:35
Show Gist options
  • Save ento/6727935 to your computer and use it in GitHub Desktop.
Save ento/6727935 to your computer and use it in GitHub Desktop.
Remove ruby tag
sed -i 's/<ruby>\([^<]\+\)<rp>[^<]\+<\/rp><rt>[^<]\+<\/rt><rp>[^<]\+<\/rp><\/ruby>/\1/g' text/*.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment