Mercurial > hg > cc > cirrus_home
view bin/hdr.sh @ 44:abc1b05996c9
complete change of array var construction, used it for log file names too, tar update enabled, so maybe complete but w/o any parallel
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Tue, 07 Apr 2020 18:00:29 +0100 |
| parents | 9a1de2c4ffe3 |
| children |
line wrap: on
line source
#!/usr/bin/bash echo $(date) $(hostname) h=$(hostname) hn=${h##*n} if [ $hn -eq 0 ] then seq --format="%03.0f" $1 $2 else seq --format="%03.0f" $3 $4 fi |\ parallel --will-cite -j 48 -N 1 bin/doHdr.sh ${hn} '{#}' '{}' echo $(date) $(hostname) $?
