A little script that takes the first argument, usually the name of a script, and write the arguemnt value and the date string. I embed this in other scripts for debuggng. The script only operates if a local named "Verbose.On" is present.
% ls
dss_bsc5-0747.fits NE.explain NE.reg S/ xycirc.reg
% verb_chek my_script
% date >Verbose.On
% ls
dss_bsc5-0747.fits NE.explain NE.reg S/ Verbose.On xycirc.reg
% verb_chek my_script
I am starting: my_script
Sun Oct 4 13:26:28 CDT 2015
Enter any key to continue:
You see the reson for having the "Vebose.On" signal file? I
want to write a message about the script being run and the
time it was run. At the same time, I want the calling script
execution to suspend while I inspect the results and I verify
where I am at in the run process.