bliper

static html page generation in perl
git clone git://git.2f30.org/bliper
Log | Files | Refs | README | LICENSE

bliper-menu-creation.sh (164B)


      1 #!/bin/sh
      2 
      3 MENU=`cat output/tmp`
      4 FILES=output
      5 
      6 cd $FILES
      7 
      8 for f in *.html
      9 do
     10 	echo "Processing $f"
     11 	sed -e "s#%INSERTMENU%#$MENU#g" $f > $f.new
     12 	mv  $f.new $f
     13 done