From 64582c47b728c507eba686d9faa3bb2ac58e47d3 Mon Sep 17 00:00:00 2001 From: Thomas Gideon Date: Tue, 9 Nov 2010 11:44:44 -0500 Subject: [PATCH] Added some here prints. --- outline.bash | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/outline.bash b/outline.bash index 207c060..7aa2d31 100755 --- a/outline.bash +++ b/outline.bash @@ -34,13 +34,16 @@ shift target=$1 # copy .gz file based on arg cp "$src" ./contents.xml.gz +echo "Copied $src to ./contents.xml.gz" # gunzip original file gunzip contents.xml.gz +echo "Gunzipped contents.xml.gz" # makes sure the ns is only on one line, also # makes the interim file more readable for debugging tidy -config tidyrc -xml -m contents.xml +echo "Tidied contents.xml" # xalan doesn't handle ns well, stripp them sed -e "s/ xmlns=\".*\"//g" -i contents.xml @@ -65,4 +68,4 @@ sed -e "s/^6/ /" -i contents.txt # snug the result where requested mv contents.txt "$target" # clean up the temporary files -rm contents.xml +#rm contents.xml