diff --git a/tsshbatch.py b/tsshbatch.py index d7eaede..1a7fe38 100755 --- a/tsshbatch.py +++ b/tsshbatch.py @@ -20,7 +20,7 @@ CMDINCL = PROGENV + "CMDS" HOSTINCL = PROGENV + "HOSTS" -CVSID = "$Id: tsshbatch.py,v 1.167 2013/10/29 01:09:26 tundra Exp $" +CVSID = "$Id: tsshbatch.py,v 1.168 2013/10/29 14:12:24 tundra Exp $" VERSION = CVSID.split()[2] CPRT = "(c)" DATE = "2011-2013" @@ -612,7 +612,14 @@ # command input from from a file. command = ConditionLine(command) + if command: + + # Do variable substitution here like any other command + + for symbol in SymbolTable: + command = command.replace(symbol, SymbolTable[symbol]) + Commands.append(command) #####