Mercurial > hg > cc > azure
view master/bin/wbash.sh @ 20:0f4a0f4e38d4
try to use dateparser.parse on non-standard last-modified
author | Henry S. Thompson <ht@markup.co.uk> |
---|---|
date | Sat, 20 Oct 2018 16:13:58 +0000 |
parents | 55e953e5c66f |
children | 9275e2a8b5e2 |
line wrap: on
line source
#!/bin/bash if [ $# -lt 1 ] then cat 1>&2 <<EOF Usage: cat cmds | $0 SSname [...args] Where SSname is the name of a VM scale set. Runs bash [with args] on every machine in a scale set, on commands from stdin by doing as it were cat | ssh machine "bash \$args" EOF exit 1 fi ss=$1 shift wrun.sh $ss bash -x -ff - -i "$@" '\<ifile.txt'