+ line = line.rstrip()
+
+ if " " in line:
+ (cmd, args) = line.split(None,1)
+ if args.startswith('r"""'):
+ while not line.endswith('"""'):
+ line = script.readline()
+ line = line.rstrip()
+ args += '\n' + line
+ else:
+ cmd = line
+ args = ''
+
+ # Ignore blank lines and comments
+ if (len(cmd) == 0 or cmd == '\n' or cmd[0] == '#'):