diff --git a/tsshbatch.rst b/tsshbatch.rst index 818dc9c..8d6fe56 100644 --- a/tsshbatch.rst +++ b/tsshbatch.rst @@ -36,9 +36,10 @@ variable: -H hostlist List of hosts on which to run the command. This should - be enclosed in *single quotes* as in:: + be enclosed in *quotes* so that the list of hosts + is handed to the -H option as a single argument:: - 'host1 host2 host3' + -H 'host1 host2 host3' -N Force interactive username dialog @@ -107,6 +108,22 @@ host file list for each of your production hosts, each of your test hosts, each of your AIX hosts, and so on. + You may use the ``#`` comment character freely throughout a + host list file to add comments or temporarily comment out a + particular host line. + + You can even use the comment character to temporarily comment + out one or most hosts in the list given to the ``-H`` command + line argument. For example:: + + tsshbatch.py -H "foo #bar baz" ls + + This would run the ``ls`` command on hosts ``foo`` and ``baz`` + but not ``bar``. This is handy if you want to use your + shell's command line recall to save typing but only want to + repeat the command for some of the hosts your originally + Specified. + 2) Authentication Using Name And Password @@ -332,7 +349,7 @@ :: - $Id: tsshbatch.rst,v 1.111 2013/10/20 21:33:04 tundra Exp $ + $Id: tsshbatch.rst,v 1.112 2013/10/20 23:09:33 tundra Exp $ You can find the latest version of this program at: