From 28e625d0b999352e0df68658e1f500061b78a21d Mon Sep 17 00:00:00 2001 From: Thomas Gideon Date: Tue, 9 Nov 2010 11:51:08 -0500 Subject: [PATCH] More here prints. --- outline.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/outline.bash b/outline.bash index 8420f54..ffd6e4e 100755 --- a/outline.bash +++ b/outline.bash @@ -59,6 +59,7 @@ else xsl=without_offset.xsl fi xalan -xsl $xsl -in contents.xml -text -out contents.txt +echo "Transformed outline with $xsl." # expand the indent counts to proper leading white space sed -e "s/^2/ /" -i contents.txt @@ -66,8 +67,10 @@ 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 +echo "Fixed indentation." # snug the result where requested mv contents.txt "$target" +echo "Moved resulting file to $target." # clean up the temporary files rm contents.xml