[6,1] Software Tools ----- -------- ----- This account contains source for a number of programs that are generally useful. You will probably have to modify the account names in the command files to suit your own taste. Of course, there's no accounting for taste. The programs are: comm Compare the contents of two files, indicating what is common to both files, and what is different. comm ? gives help. diff Differential file comparison program, as described in Bell Labs C.S. technical report 41. echo Echo arguments -- used mostly to debug the compiler and run-time system. grep "Global Regular Expression Pattern" -- search files for lines which satisfy an argument pattern. grep ? gives help. kwik Kwik index program. See kwik.rno/kwik.doc. Link with sorts.c. l List on a screen terminal (you hit return every 23 lines). mc A multi-column print utility. mp A full macro processor for C source files, written by R.W. Harper of Rensalear Institute of Technology and originally distributed on a Unix SIG tape. It has been modified to interface with the Decus compiler; it generates the predefined #define's and otherwise interfaces just fine now. It supports the full functionality as described in Kernighan and Ritchie. nm Print "namelist" -- prints global symbols for an object module. Lots of options described in the source code, but nowhere else. od Octal dump of a file -- Options described in the source code only. As the RSX library doesn't mangle file attributes, some of the features don't work. od dumps records on RSX, blocks on RT11 pr Print with line numbers. sortc Sort a file. Help in sort.rno/sort.doc sorts Sort library routines. Help in the source code. Used by kwik. t File type (on a video screen) utility. Run T and see. Works well on a network virtual terminal. Handles random RMS file formats. today Print today's date in readable English. Uses the following subroutines: datetx Convert date to English moontx Convert phase of the moon to English nbrtxt Convert an integer to English timetx Convert time of day to English Very good program, if I do say so myself. uniq Print unique lines from a file, uniq ? gives help. wc Word/line/byte counter xrf Cross reference listing for C programs