From e86036eb63ede07e06f6ba9d516bafe2c34500f2 Mon Sep 17 00:00:00 2001 From: Thomas Gideon Date: Fri, 8 Oct 2010 17:34:30 -0400 Subject: [PATCH] Mostly workable. --- outline.bash | 10 ++++++++-- outline.xsl | 6 ++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/outline.bash b/outline.bash index 2e93e84..8919532 100755 --- a/outline.bash +++ b/outline.bash @@ -1,4 +1,10 @@ #!/bin/bash -# TODO copy .gz file based on date +# TODO copy .gz file based on arg # TODO gunzip original file -xalan -xsl outline.xsl -in contents.xml -text +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 diff --git a/outline.xsl b/outline.xsl index e4da0d7..8b35413 100644 --- a/outline.xsl +++ b/outline.xsl @@ -6,6 +6,8 @@ + @@ -16,8 +18,8 @@ == - - - + + -