PUT Utility

The PUT utility puts console or printer output to a file for the next command entered at the console, until the program terminates. It consists of a main program and an RSX.

While the main program is written in a high level language1 the RSX is coded in assembler. The original PUT allows data putting into a new file only. If the requested file does exist, PUT deletes it or quits if deletion is unintentional.

Sometimes it is useful to keep one log file. This mode requires the append facility. I disassembled the main program and added the append feature. Also implemented is a wild card test in the output file name. Beneath this I added a small help text which may be displayed given by the command line:

PUT HELP

Find the sources here:
Back to the disassembler activities

1. Digital Research used the high level language PL/M. The complete utilities of CP/M PLUS with some sources may be downloaded hier: [Download]