# Last edited on 2004-02-25 03:37:47 by stolfi

CONCATENATING THE HTML

  Import directory
  
    set imp = "${STOLFIHOME}/IMPORT/texts/russian/SynodalBible"
    
    rm -f main.htm
    foreach f ( `cd ${imp} && ls {01,02,03,04,05}-???-???.html | sort` )
      echo "# === $f ========================================" >> main.htm
      cat ${imp}/${f} \
        | tr '\015' '\012' \
        >> main.htm
    end