Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

11_check_statalog.sh - Show the Stata log of a run

Description

Looks in a folder for today’s Stata log (logfile_*<date>*-root.log), prints it, and reports whether the last line is a Stata error code (r(...)). The exit on error is disabled: the script always exits with 0.

Usage

./automations/11_check_statalog.sh <folder>

Environment Variables