werc-1.5.0-tweaks

Tweaks for the werc website builder created by the mad architect Uriel
Log | Files | Refs | README

runtsts.rc (262B)


      1 #!/bin/rc
      2 
      3 tstdom='http://test.cat-v.org'
      4 
      5 cd sites/tst.cat-v.org
      6 
      7 tstfiles=`{du -a |awk '/\.tst$/ { print $2 }; {} ' | sed 's/^\.//; s/\.tst$//'}
      8 
      9 for(f in $tstfiles) {
     10     ifs='
     11 ' { tsts=`{cat ./$f.tst} }
     12     
     13     for(t in $tsts) {
     14         echo tst $t
     15     }
     16 }