Mercurial > hg > cc > cirrus_home
changeset 49:18f8bcc779e8
as running, modulo 1 log output wrong
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Fri, 10 Apr 2020 18:42:08 +0100 |
parents | 307e0c44925a |
children | 5de261eb0deb |
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:22:48 2020 +0100 +++ b/bin/preExtract.sh Fri Apr 10 18:42:08 2020 +0100 @@ -59,7 +59,7 @@ lff+=("${lf}") # accumulate list of log files if [ -s $lf ] then - echo " " $lf empty, skipping >> log + echo " " $lf not empty, skipping extraction >> log else echo " " extracting from $id >> log echo starting ${id} $(date) > $lf @@ -84,8 +84,8 @@ ni=${#ii[@]} if [ $(wc -l < ${e}_check.txt) -ne $((ni + 1)) ] then - if [[ "$(tr -s '\n\t ' ' ' < ${e}_check.txt)" =~ \ - ^' '[0-9]*' > 1 < 1 --- 1 '[0-9]*c[0-9]*' 1 '[0-9]*'a'[0-9,]*' '$ ]] + if [[ "$(tr -s "\n\t " " " < ${e}_check.txt)" =~ \ + ^" "[0-9]*" > 1 < 1 --- 1 "[0-9]*c[0-9]*" 1 "[0-9]*"a"[0-9,]*" "$ ]] then : else