Commit c2649ee7 authored by stew's avatar stew

updated to 35c3 pad

parent a818444f
#!/bin/bash
dst='/srv/hackt-im-stratum0.org/htdocs/34c3'
dst='/srv/hackt-im-stratum0.org/htdocs/35c3'
filename='s0vouchers.png'
function gendot(){
(echo "strict digraph S0SocialWeb{" ;
wget -q -O - https://pad.stratum0.org/p/34c3vouchers/export/txt |
awk '/\*Verlorene Voucher/{f=0};f{print tolower($0)};/\*Fertig und weitergegeben haben/{f=1;next}'|
wget -q -O - https://pad.stratum0.org/p/35c3vouchers/export/txt |
awk '/^$/{f=0};f{print tolower($0)};/\*Fertig und weitergegeben haben/{f=1;next}'|
sed -E -e "s/^\s*[0-9]+.\s+(\S+).*von\s+(\S+).*an\s+(\S+).*/\"\\1\" -> \"\\3\" \n\"\\2\" -> \"\\1\"/" |
sed -E -e "s/^\s*[0-9]+.\s+(\S+).*von (\S+).*/\"\\2\" -> \"\\1\"/" |
sed -E -e "s/^\s*[0-9]+.\s+(\S+).*an (\S+).*/\"\\1\" -> \"\\2\"/" |
......
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