changeset 40:0d1f6c971d5e

sketching more
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Thu, 02 Apr 2020 19:21:21 +0100
parents 822cfbf134d3
children 64227ff87e4e
files bin/reExtract.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bin/reExtract.sh	Thu Apr 02 19:14:23 2020 +0100
+++ b/bin/reExtract.sh	Thu Apr 02 19:21:21 2020 +0100
@@ -23,8 +23,8 @@
 do
     mkdir -p $s
     cd $s
-    for e in $(egrep "\b$p\b" in.txt |cut -f 1 | sort -u)
+    for e in $(egrep "\b$s\b" in.txt |cut -f 1 | sort -u)
     do
-	tar -xf $h/$s/extract_$e.tar
+	tar -xf $h/$s/extract_$e.tar [files for p i in $(egrep "^$e\s$s\b" in.txt | cut -f 3,4)