4 ## Parse the command line.
7 echo >&2 "Usage: $0 COMMAND SLAVE|:SET ..."
13 ## Expand slaves into a big list.
14 slaves
=$
(expand-list
/etc
/slaves
"$@")
18 { { { echo "starting..."
19 set +e
; ssh "$i" "$command" 3>&-; rc
=$?
; set -e
20 echo "done (rc = $rc)"; } >&3; } 2>&1 |
21 while IFS
= read line
; do echo "!!! $line"; done; } 3>&1 |
22 while IFS
= read line
; do echo "$i: $line"; done &