From: Guido Draheim Date: Tue, 11 May 2004 17:58:03 +0000 (+0000) Subject: update mksite.sh X-Git-Tag: v0.13.48~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=86ce40c438c78e497039102436c346e9cac24e30;p=zziplib update mksite.sh () --- diff --git a/ChangeLog b/ChangeLog index 4aa6b67..f0876b0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2004-05-11 * documenting zzip-cryptoid handling + * update mksite.sh 2004-05-09 * documenting zzipmmapped and zzipfseeko parser libraries diff --git a/docs/mksite.sh b/docs/mksite.sh index 159955f..b4f25be 100644 --- a/docs/mksite.sh +++ b/docs/mksite.sh @@ -20,7 +20,7 @@ # 2. Altered source versions must be plainly marked as such, and must not # be misrepresented as being the original software. # 3. This notice may not be removed or altered from any source distribution. -# $Id: mksite.sh,v 1.2 2004-05-08 19:37:52 guidod Exp $ +# $Id: mksite.sh,v 1.3 2004-05-11 17:58:03 guidod Exp $ # initialize some defaults test ".$SITEFILE" = "." && test -f site.htm && SITEFILE=site.htm @@ -735,7 +735,7 @@ print_extension () html_sourcefile () # generally just cut away the trailing "l" (ell) { # making "page.html" argument into "page.htm" return _SRCFILE_=`echo "$1" | $SED -e "s/l\\$//"` - if test -f "$_SRCFILE_" ; then echo "./$_SRCFILE_" + if test -f "$_SRCFILE_" ; then echo "$_SRCFILE_" elif test -f "$opt_srcdir/$_SRCFILE_" ; then echo "$opt_srcdir/$_SRCFILE_" else echo ".//$_SRCFILE_" fi @@ -926,107 +926,79 @@ body_for_emailfooter () # marks all interesting lines so they can be checked later # with an sed anchor of (or ) S="\\ \\;" -HR1="
" -HR2="$S
" -HR3="<>
" -HE1="
" -HE2="$S
" -HE3="<>
" -HS1="
" -HS2="$S
" -HS3="<>
" -BR1="
" -BR2="$S
" -BR3="<>
" -BE1="
" -BE2="$S
" -BE3="<>
" -QE1="" -QE2="$S" -QE3="<>" -BU1="
" -BU2="$S
" -BU3="<>
" -QU1="" -QU2="$S" -QU3="<>" -BL1="
" -BL2="$S
" -BL3="<>
" -QL1="" -QL2="$S" -QL3="<>" -QR0="" -QR2="$S" -QR3="<>" +# S="[&]nbsp[;]" + +# HR and EM style markups must exist in input - BR sometimes left out +# these routines in(ter)ject hardspace before, between, after markups +# note that "
" is sometimes used with HR - it must exist in input +echo_HR_EM_PP () +{ + echo "/^$1$2$3*$1$2$3*$2$3*$3*$2$3*$3*$1$2*$2*$2*$1*<>$1*$1<>*<>**/" > $MK.gets.tmp -echo "/^$HR1$h1m/" >> $MK.gets.tmp -echo "/^$HR1$h1*/" >> $MK.gets.tmp -echo "/^$HR2$h1*/" >> $MK.gets.tmp -echo "/^$HR3$h1*/" >> $MK.gets.tmp -echo "/^$HE1$h1*/" >> $MK.gets.tmp -echo "/^$HE2$h1*/" >> $MK.gets.tmp -echo "/^$HE3$h1*/" >> $MK.gets.tmp -echo "/^$HS1$h1*/" >> $MK.gets.tmp -echo "/^$HS2$h1*/" >> $MK.gets.tmp -echo "/^$HS3$h1*/" >> $MK.gets.tmp -echo "/^$BR1$b1$b1*/" >> $MK.gets.tmp -echo "/^$BR2$b1$b1*/" >> $MK.gets.tmp -echo "/^$BR3$b1$b1*/" >> $MK.gets.tmp -echo "/^$BR1$b2$b2*/" >> $MK.gets.tmp -echo "/^$BR2$b2$b2*/" >> $MK.gets.tmp -echo "/^$BR3$b2$b2*/" >> $MK.gets.tmp -echo "/^$BR1$b3$b3*/" >> $MK.gets.tmp -echo "/^$BR2$b3$b3*/" >> $MK.gets.tmp -echo "/^$BR3$b3$b3*/" >> $MK.gets.tmp -echo "/^$QR0$b2$b2*/" >> $MK.gets.tmp -echo "/^$QR2$b2$b2*/" >> $MK.gets.tmp -echo "/^$QR3$b2$b2*/" >> $MK.gets.tmp -echo "/^$QR0$b3$b3*/" >> $MK.gets.tmp -echo "/^$QR2$b3$b3*/" >> $MK.gets.tmp -echo "/^$QR3$b3$b3*/" >> $MK.gets.tmp -echo "/^$QE1$q3*/" >> $MK.gets.tmp -echo "/^$QE2$q3*/" >> $MK.gets.tmp -echo "/^$QE3$q3*/" >> $MK.gets.tmp -echo "/^$BR1$b2*/" >> $MK.gets.tmp -echo "/^$BR2$b2*/" >> $MK.gets.tmp -echo "/^$BR3$b2*/" >> $MK.gets.tmp -echo "/^$BL1$b2*/" >> $MK.gets.tmp -echo "/^$BL2$b2*/" >> $MK.gets.tmp -echo "/^$BL3$b2*/" >> $MK.gets.tmp -echo "/^$BE1$b2*/" >> $MK.gets.tmp -echo "/^$BE2$b2*/" >> $MK.gets.tmp -echo "/^$BE3$b2*/" >> $MK.gets.tmp -echo "/^$QU1$b2*/" >> $MK.gets.tmp -echo "/^$QU2$b2*/" >> $MK.gets.tmp -echo "/^$QU3$b2*/" >> $MK.gets.tmp -echo "/^$BR1$b3n/" >> $MK.gets.tmp -echo "/^$BR1$b3m/" >> $MK.gets.tmp -echo "/^$BR1$b3*/" >> $MK.gets.tmp -echo "/^$BR2$b3*/" >> $MK.gets.tmp -echo "/^$BR3$b3*/" >> $MK.gets.tmp -echo "/^$QR2$b3*/" >> $MK.gets.tmp -echo "/^$QR3$b3*/" >> $MK.gets.tmp -echo "/^$BL1$b3*/" >> $MK.gets.tmp -echo "/^$BL2$b3*/" >> $MK.gets.tmp -echo "/^$BL3$b3*/" >> $MK.gets.tmp -echo "/^$BE1$b3*/" >> $MK.gets.tmp -echo "/^$BE2$b3*/" >> $MK.gets.tmp -echo "/^$BE3$b3*/" >> $MK.gets.tmp -echo "/^$QE1$q3*/" >> $MK.gets.tmp -echo "/^$QE2$q3*/" >> $MK.gets.tmp -echo "/^$QE3$q3*/" >> $MK.gets.tmp +echo_HR_PP "
" "$h1" "" > $MK.gets.tmp +echo_HR_EM_PP "
" "" "$h1" "" >> $MK.gets.tmp +echo_HR_EM_PP "
" "" "$h1" "" >> $MK.gets.tmp +echo_HR_PP "
" "$b1$b1" "" >> $MK.gets.tmp +echo_HR_PP "
" "$b2$b2" "" >> $MK.gets.tmp +echo_HR_PP "
" "$b3$b3" "" >> $MK.gets.tmp +echo_br_PP "
" "$b2$b2" "" >> $MK.gets.tmp +echo_br_PP "
" "$b3$b3" "" >> $MK.gets.tmp +echo_br_EM_PP "
" "" "$q3" "" >> $MK.gets.tmp +echo_br_EM_PP "
" "" "$q3" "" >> $MK.gets.tmp +echo_br_EM_PP "
" "" "$q3" "" >> $MK.gets.tmp +echo_HR_PP "
" "$q3" "" >> $MK.gets.tmp +echo_sp_PP "$q3" "" >> $MK.gets.tmp $SED -e "s/>\\[/> *[/" ./$MK.gets.tmp > $MK.puts.tmp # the .puts.tmp variant is used to
some hrefs which # shall not be used otherwise for being generated - this is nice for