mkstr — Create an Error Message File by Massaging C Source Files


/usr/ucb/mkstr [-] messagefile prefix filename... 


mkstr creates files of error messages. You can use mkstr to make smaller programs from those that have a large numbers of error diagnostics. You reduce system overhead in running such programs because the error messages do not have to be constantly swapped in and out.

mkstr processes each of the specified file names, placing a massaged version of the input file in a file with a name consisting of the specified prefix and the original source file name. A typical example of using mkstr is.

mkstr pistrings processed *.c 

This command puts all the error messages from the C source files in the current directory ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.