changeset 50:5de261eb0deb

another few log fixes
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Fri, 10 Apr 2020 18:45:30 +0100
parents 18f8bcc779e8
children 427056f1784e
files bin/preExtract.sh
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/bin/preExtract.sh	Fri Apr 10 18:42:08 2020 +0100
+++ b/bin/preExtract.sh	Fri Apr 10 18:45:30 2020 +0100
@@ -70,7 +70,7 @@
 	    ii+=("*-00${i}_*")
 	    echo "  " "$i" "${ii[@]}" ${#ii[@]} >> log
 	 done
-        echo " " extractions done
+        echo " " extractions done >> log
 	# now compare ls vs. tar
 	echo " " "${ii[@]}"  ${#ii[@]} >> log
 	echo " " lff "${lff[@]}" >> log
@@ -79,7 +79,7 @@
 	    - <(sort -k2.1,2.36 -k2.38,2n $lsf) > ${e}_diff.txt
         if [ -s ${e}_diff.txt ]
         then
-          echo " " checking...
+          echo " " checking... >> log
 	  cut -f 1 -d " " ${e}_diff.txt | sus > ${e}_check.txt
 	  ni=${#ii[@]}
 	  if [ $(wc -l < ${e}_check.txt) -ne $((ni + 1)) ]
@@ -99,7 +99,7 @@
 	      cd ..
 	      continue
 	  fi
-          echo " " starting tar update
+          echo " " starting tar update >> log
 	  egrep "^> " ${e}_diff.txt | cut -f 2 > ${e}_new.txt
 	  tar --delete -f ${h}/${s}/extract_${e}.tar "${lff[@]}"
 	  tar --append -f ${h}/${s}/extract_${e}.tar --files-from=${e}_new.txt "${lff[@]}"