poc entirely pipe
This commit is contained in:
4
poc.sh
4
poc.sh
@@ -36,8 +36,8 @@ original() {
|
||||
| sed 's/^\(\#\#*\) \[](#\([^)]*\))/\1 /' \
|
||||
| sed 's/{#\([^ ]*\)[^}]*}/\n\n<a name="\1"><\/a>/' \
|
||||
| sed 's/\[\([^]]*\)]\(([^)]*)\)*\({[^}]*}\)*/\1/g' \
|
||||
| sed "s/\\\\\([\"']\)/\1/g" > $d/f.md
|
||||
less $d/f.md || notes-server -root $d
|
||||
| sed "s/\\\\\([\"']\)/\1/g" \
|
||||
| less || notes-server -root $d
|
||||
break
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user