comparison 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
comparison
equal deleted inserted replaced
13:8e3719800479 14:9a1de2c4ffe3
1 #!/usr/bin/bash
2 echo $(date) $(hostname)
3 h=$(hostname)
4 hn=${h##*n}
5 if [ $hn -eq 0 ]
6 then seq --format="%03.0f" $1 $2
7 else seq --format="%03.0f" $3 $4
8 fi |\
9 parallel --will-cite -j 48 -N 1 bin/doHdr.sh ${hn} '{#}' '{}'
10 echo $(date) $(hostname) $?