diff --git a/tsshbatch.rst b/tsshbatch.rst index 3e6334b..c8f2548 100644 --- a/tsshbatch.rst +++ b/tsshbatch.rst @@ -832,13 +832,18 @@ updated) on every machine in the ``hostlistfile`` or named with ``-H``. -Notice it is the ``!`` character is that distinguishes an Execution +Notice it is the ``!`` character that distinguishes an Execution Variable from a User Defined Variable. It is this character that tells ``tsshbatch``, "Go run the command to the right of me and return the results." The trailing space is optional and the definition could be written as:: .define __WHOAMI__ = !whoami + +If the command you specify to the right of the ``!`` returns multiple +lines of output, it's up to you to process it properly. ``tsshbatch`` +does no newline stripping or other postprocessing of the command +results. .. NOTE:: It's important to remember that the program you are invoking *runs on the same machine as* ``tsshbatch`` *itself*, NOT each @@ -1047,7 +1052,7 @@ :: - $Id: tsshbatch.rst,v 1.147 2014/12/04 22:26:37 tundra Exp $ + $Id: tsshbatch.rst,v 1.148 2014/12/04 22:30:56 tundra Exp $ You can find the latest version of this program at: