Skip to content
闲耘™ edited this page Jan 23, 2015 · 11 revisions

Convent cheeaun/life data for markline

via sed:

sed 's/\([0-9]\{1,2\}\)\/\([0-9]\{1,2\}\)\/\([0-9]\{4\}\)/\3\/\2\/\1/g;s/\([0-9]\{1,2\}\)\/\([0-9]\{4\}\)/\2\/\1/g;s/\([0-9]\)\-\~/\1\-/g;s/\([0-9]\)\-/\1\~/g;s/ \~\([0-9]\)/ \1/g' life.md > newlife.md

via vim:

:e life.md
:%s/\(\d\{1,2\}\)\/\(\d\{1,2\}\)\/\(\d\{4\}\)/\3\/\2\/\1/g
:%s/\(\d\{1,2\}\)\/\(\d\{4\}\)/\2\/\1/g
:%s/\([0-9]\)\-\~/\1\-/g
:%s/\([0-9]\)\-/\1\~/g
:%s/ \~\([0-9]\)/ \1/g
:wq newlife.md

Gantt Chart

Gantt Chart Tools

Clone this wiki locally