Here\'s a scenario. You have a large amount of legacy scripts, all using a common library. Said scripts use the \'print\' statement for diagnostic output. No changes are
You could run the script from a wrapper script that captures the original script's stdout and writes the output somewhere sensible.