TextTools - Support Utilities Revised 2-Jan-99. Copyright © 1996-99 by Rune Berg. TextTools Freeware. |
TTARGS | Top |
This program may help if your shell or command interpreter plays tricks on your quoting or special characters when typing a command. It simply prints the command and its arguments as delivered to a program. For example:
ttargs here is a "less than char: <"prints:
argc == 5 argv[0] == #C:\BIN32\TTARGS.EXE# argv[1] == #here# argv[2] == #is# argv[3] == #a# argv[4] == #less than char: <#Don't worry about the argc and argv stuff, it's what's between the #'s that matters.
TTRC | Top |
This program prints the return code of a program invokation. For example:
ttrc tcols from xxxprints:
--- TTRC running command: tcols from xxx $1 tcols: No such file or directory tcols: Can't open "xxx" for reading - exiting --- TTRC completed, result code from tcols: 104 (Error: failed to open file)
ttrc can be used on non-TextTools programs too, but the success/warning/error explanation will not make sense, only the return code.
End of document |