Commit 88b75958 authored by stew's avatar stew

adapt to this years special syntax

parent 59204002
Pipeline #991 failed with stages
......@@ -8,8 +8,8 @@ function gendot(){
echo "subgraph {";
wget -q -O - https://pad.stratum0.org/p/35c3vouchers/export/txt |
awk '/^\*[0-9]+\. Fertig/{f=1;next} /^\*[0-9]+/{f=0} !/^\s+1\. /{next} f{print tolower($0)}'|
sed -E -e "s/^\s*[0-9]+.\s+(\S+).*an (\S+),.*([0-9]{2})\.([0-9]{2})\.[0-9]{4}/\"\\1\" -> \"\\2\" \nsubgraph cluster_\\3\\4 {margin=10;label=\"\\3.\\4. \"; pencolor=transparent; labeljust=l; \"\\2\"}/" |
sed -E -s "s/(.*)\"xxx_(.*)_xxx\"(.*)/\\1 \"\\2\" \\3 \n\"\\2\" [shape=underline]/";
sed -E -e "s/^\s*[0-9]+.\s+([^, _]+).*an ([^, _]+).*,\s+([0-9]{2})\.([0-9]{2})\.[0-9]{4}\s*$/\"\\1\" -> \"\\2\" \nsubgraph cluster_\\3\\4 {margin=10;label=\"\\3.\\4. \"; pencolor=transparent; labeljust=l; \"\\2\"}/" |
sed -E -s "s/(.*)\"xxx(.*)xxx\"(.*)/\\1 \"\\2\" \\3 \n\"\\2\" [shape=underline]/";
echo "}}")
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment