#!/usr/bin/python # -*- coding: utf-8 -*- # -------------------------------------------------- # File Name: run.sh # Location: # Purpose: # Creation Date: 06-06-2017 # Last Modified: Wed, Jun 7, 2017 6:01:23 PM # Author(s): Mike Stout # Copyright 2017 The Author(s) All Rights Reserved # Credits: # -------------------------------------------------- source ~/.bashrc ## Change bold to # ... ## Do THIS > cat LR-Q1-F-mapping.htm | sed -e 's,,#,g' | sed -e 's,<\/b>,#,g' > tmp.htm ## The use excel to save the html to txt ed=$1 rh additions.hs Book1a.txt $ed | grep sed > ${ed}_1_script.sh cat ${ed}.xml | \ tr "\n" "#" | \ sh ${ed}_1_script.sh | \ tr "#" "\n" > tmp.xml cat tmp.xml | \ sed -e 's/<\/speaker>

\(.*\)<\/speaker>/\1<\/speaker>

/' | \ sed -e 's/.* tmp1.xml py validate.py tmp1.xml cat ${ed}_1_script.sh | tr "/" ">" | cut -d\> -f2 | sed -e 's/^/grep \"/' | sed -e 's/$/\" tmp1.xml/' > a,sh sh a.sh | grep -v "\-only" | grep -v Nothing