#! /bin/sh web="$HOME"/Internet/WWW/htdocs/phdru.name/Software/Python/PEPs rsync -pt pep-103.txt "$web" && cd "$web" && echo \ '#extends phd_site #implements respond #attr $Title = "PEP 103: Collecting information about git" #attr $Description = "Broytman Python Software PEP 103" #attr $Copyright = 2015 ## #def body_rst' >pep-103.tmpl && sed -e '1,10s/^/| /' -e 's/\$/\\&/g' pep-103.txt >>pep-103.tmpl && echo \ '#end def $phd_site.respond(self)' >>pep-103.tmpl && exec chmod u=rw,go=r "$web"/pep-103.t*