diff bin/extract.sh @ 30:1e479e3ea9c4

better quoting
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Thu, 19 Mar 2020 13:13:02 +0000
parents a95a1b31f5e9
children
line wrap: on
line diff
--- a/bin/extract.sh	Wed Mar 18 21:54:47 2020 +0000
+++ b/bin/extract.sh	Thu Mar 19 13:13:02 2020 +0000
@@ -5,7 +5,7 @@
 h=$(hostname)
 hn=${h##*n}
 head -1 extract_${hn}.txt |\
- read cc \; \
+ { read cc ; \
  tail -n +2 extract_${hn}.txt |\
-    parallel --will-cite  -j 4 -N 1 \$HOME/bin/doExtract.sh "$cc" '{#}' '{}'
+    parallel --joblog topjob.log --will-cite  -j 4 -N 1 \$HOME/bin/doExtract.sh "$cc" '{#}' '{}' ; }
 echo $(date) $(hostname) $?