06-Dec-1985 PDP-11 SEARCH UTILITIES ----------------------- This consists of three modules, SEA.CMD, SRP.CMD and TEC.TSK, which will allow you to accomplish the following functions on A PDP-11: 1) Search file spec for an occurance of an ascii string. 2) Search and replace a specified file spec for occurances of a set string and replacing that string with a new one. To Search the following is required: @SEA a b c Where: a = is the file spec to search, no disk spec allowed the disk to search thru is SY: (this is due to our version of TECO screwing up the disk spec for disk unit #'s greater than 17 octal). b = is the search string, and no blanks are allowed. this can be overcome by not putting in this parameter (and the following parameter also), thus causing the command file to promt for the rest of the parameters. That promt will allow any string to be inputed. c = is the optional output file spec to put the results of the search. If not provided, then TI: is the assumed destination. To Search and Replace the following is required: @SRP a b c d Where: a = is the file spec to search, no disk spec allowed the disk to search thru is SY: (this is due to our version of TECO screwing up the disk spec for disk unit #'s greater than 17 octal). b = is the search string, and no blanks are allowed. this can be overcome by not putting in this parameter (and the following parameters also), thus causing the command file to promt for the rest of the parameters. That promt will allow any string to be inputed. c = is the replace string, and no blanks are allowed. this can be overcome by not putting in this parameter (and the following parameter also), thus causing the command file to promt for the rest of the parameters. That promt will allow any string to be inputed. d = is the optional output file spec to put the results of the search. If not provided, then TI: is the assumed destination. Also provided is our copy of catchall.cmd that we used to help in our development environment.