autocast/outline.bash

11 lines
376 B
Bash
Raw Normal View History

#!/bin/bash
2010-10-08 21:34:30 +00:00
# TODO copy .gz file based on arg
# TODO gunzip original file
2010-10-08 21:34:30 +00:00
xalan -xsl outline.xsl -in contents.xml -text -out contents.txt
sed -e "s/^2/ /" -i contents.txt
sed -e "s/^3/ /" -i contents.txt
sed -e "s/^4/ /" -i contents.txt
sed -e "s/^5/ /" -i contents.txt
sed -e "s/^6/ /" -i contents.txt
less contents.txt