next message in archive
no next message in thread
previous message in archive
Index of Subjects
For the distribution, I was thinking
Redirect standard error in scripts with
exec 2>/tmp/$USER/`basename $0`.err
to collect error reports.
Or maybe
exec 2>/tmp/${REMOTE_IDENT-:nobody}.`basename $0`.err
In distributed scripts, the code would be commented out by default.
Anybody who can edit the script to remove the comment should know how to
get to the error report.
C programs, and various CSuite utilities that take optional parameters
could replicate such "verbose" behavior with an optional -v switch.
Gerard MacNeil, P. Eng.
next message in archive
no next message in thread
previous message in archive
Index of Subjects