Mercurial > hg > cc > cirrus_home
diff bin/hdr.sh @ 14:9a1de2c4ffe3
modelled on plinks
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Wed, 26 Feb 2020 15:47:20 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/hdr.sh Wed Feb 26 15:47:20 2020 +0000 @@ -0,0 +1,10 @@ +#!/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) $?