Make Qshell Clean Up After Itself
December 18, 2002 Timothy Prickett Morgan
I’ve written a Qshell script that creates some work files that are needed only for the duration of the script. I want the script to delete them before it ends. Here’s the problem: There are several places where the script can end normally and plenty of places where execution of the script could end abnormally. In CL, I’d use a goto command to branch to an end-of-job routine, where I could put commands to clean up, but Qshell does not have a goto command.
I never thought I’d wish for a goto command, but I do. …Read more