Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: b6b961de13
Fetching contributors…

Cannot retrieve contributors at this time

executable file 16 lines (12 sloc) 0.591 kB
#!/bin/sed -f
# Transform [:] Ruby Annotations from Standard Input into HTML5 Ruby Constructs
# Written in 2012 by 伴上段
#
# To the extent possible under law, the author(s) have dedicated all copyright
# and related and neighboring rights to this software to the public domain
# worldwide. This software is distributed without any warranty.
#
# You should have received a copy of the CC0 Public Domain Dedication along
# with this software. If not, see
# <http://creativecommons.org/publicdomain/zero/1.0/>.
s|\[\([^]:]*\):\([^]]*\)\]|<ruby>\1<rp>(</rp><rt>\2</rt><rp>)</rp></ruby>|g
Jump to Line
Something went wrong with that request. Please try again.