]> git.phdru.name Git - git-wiki.git/blob - publish
Fix grammar
[git-wiki.git] / publish
1 #! /bin/sh
2
3 web="$HOME"/Internet/WWW/htdocs/phdru.name/Software/Python/PEPs
4 rsync -pt pep-103.txt "$web" &&
5 cd "$web" &&
6
7 echo \
8 '#extends phd_site
9 #implements respond
10 #attr $Title = "PEP 103: Collecting information about git"
11 #attr $Description = "Broytman Python Software PEP 103"
12 #attr $Copyright = 2015
13 ##
14 #def body_rst' >pep-103.tmpl &&
15
16 sed -e '1,10s/^/| /' -e 's/\$/\\&/g' pep-103.txt >>pep-103.tmpl &&
17
18 echo \
19 '#end def
20 $phd_site.respond(self)' >>pep-103.tmpl &&
21
22 exec chmod u=rw,go=r "$web"/pep-103.t*