From 3baeb11a8fbcfcdbc31976d421f17b85503b3ecd Mon Sep 17 00:00:00 2001 From: WuKong Date: Fri, 4 Sep 2015 09:25:34 +0200 Subject: init attribute-based encryption Change-Id: Iba1a3d722110abf747a0fba366f3ebc911d25b25 --- moon-abe/pbc-0.5.14/doc/makeover | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 moon-abe/pbc-0.5.14/doc/makeover (limited to 'moon-abe/pbc-0.5.14/doc/makeover') diff --git a/moon-abe/pbc-0.5.14/doc/makeover b/moon-abe/pbc-0.5.14/doc/makeover new file mode 100644 index 00000000..39b807c1 --- /dev/null +++ b/moon-abe/pbc-0.5.14/doc/makeover @@ -0,0 +1,50 @@ +#!/bin/bash +gawk ' +/
/ { + print $0 + getline #TODO: check this is the
")) { + print $0 + getline + } + print "" + exit +} +' < manual/index.html > toc.tmp +for a in manual/*.html +do + if [ $a != "manual/index.html" ] + then +#add " - PBC" to titles of all pages + sed '/<\/title>/ s/<\/title>/ - PBC&/' -i $a + sed '/ +} ' -i $a + sed '/^<\/body/i ' -i $a + fi +done + +gawk ' +/
","") +} +{ print } +' < manual/index.html | sed '/ +r index.html +a
+} ' > tmp.tmp +mv tmp.tmp manual/index.html +rm toc.tmp -- cgit 1.2.3-korg