forked from dozens/cleric-plus-thief
14 lines
180 B
Plaintext
14 lines
180 B
Plaintext
|
.
|
||
|
g/BEGIN/ka
|
||
|
g/END/kb
|
||
|
1,'ad
|
||
|
'b,$d
|
||
|
%s/^- //
|
||
|
%s,<time>\(.*\)</time>,time: \1|,
|
||
|
%s, - \[\(.*\)\],title: \1|,
|
||
|
%s,(\(.*\))$,source: \1|link: \1|,
|
||
|
%s/html/md/
|
||
|
%s/|/\
|
||
|
/g
|
||
|
1,$w /dev/stdout
|