#!/bin/bash wget -rl1 -Atxml,txt,xsl http://www.w3.org/Voice/2013/scxml-irp/ # wget http://www.w3.org/Voice/2013/scxml-irp/545/test545.txml # wget http://www.w3.org/Voice/2013/scxml-irp/577/test577.txml # mv test545.txml ./txml # mv test577.txml ./txml find ./www.w3.org -name "*.txml" -exec cp {} ./txml \; find ./www.w3.org -name "*.txt" -exec cp {} ./txml \; find ./www.w3.org -name "*.xsl" -exec cp {} . \; rm -rf www.w3.org # sed -ie "s/Var<\/xsl:attribute>/(Var.slice(0, - 1)) * 50 + 'ms'<\/xsl:attribute>/" confEcma.xsl # sed -ie "s/'s'<\/xsl:attribute>/'ms'<\/xsl:attribute>/" confEcma.xsl #rm confEcma.xsle