Thanks to Kit Baum, the smcl2do package is available from the SSC.
The package has 2 new commands:
smcl2do converts log files to do-files in a robust fashion.
By default, smcl2do strips all commands which resulted in errors or were interrupted. It can also strip out all commands (such as help or edit) which do not do anything on their own, but which do open windows. It can also keep all commands if you wish. It can handle Mata commands, loops, and do commands.
splitlog is made for custom postprocessing of log files.
By default, splitlog separates commands, their associated results, and orphaned results arising from commands not in the log file by placing special comments around each. splitlog can be used to make files of commands, output, or a mixture of the two. The style of the text surrounding the commands, results, and orphans can be customized in case they are needed for other markup languages.
The two commands are bundled into one package because smcl2do uses splitlog to do its work.
ssc install smcl2do will install the package for you.
The package has 2 new commands:
smcl2do converts log files to do-files in a robust fashion.
By default, smcl2do strips all commands which resulted in errors or were interrupted. It can also strip out all commands (such as help or edit) which do not do anything on their own, but which do open windows. It can also keep all commands if you wish. It can handle Mata commands, loops, and do commands.
splitlog is made for custom postprocessing of log files.
By default, splitlog separates commands, their associated results, and orphaned results arising from commands not in the log file by placing special comments around each. splitlog can be used to make files of commands, output, or a mixture of the two. The style of the text surrounding the commands, results, and orphans can be customized in case they are needed for other markup languages.
The two commands are bundled into one package because smcl2do uses splitlog to do its work.
ssc install smcl2do will install the package for you.
Comment