> pictools > doc > debug
> pictools > doc > debug
Pictools: Shell Script Tools
V3.3 (445)
debug.csh
/pictools/debug.csh
Writes a string to the log file
usage, in shell script: debug.csh [-b] [-e] [-digit] "message"

Appends the message to the log file (/tmp/pictoolsdebug.log). If -b appears, the terminal bell will be rung. If -e appears, the message will be echoed to stderr. The -digit argument specifies this message's "level", which is compared to PICTOOLSDEBUG. The message will be appended to /tmp/pictoolsdebug if the message's level is not larger than PICTOOLSDEBUG.

The message is echoed to stderr if

-digit is missing, or
-digit is -0, or
-e appears

The message is appended to /tmp/pictoolsdebug.log if

-digit is on the command line, and
PICTOOLSDEBUG has a numeric value, and
digit is not larger than PICTOOLSDEBUG

 
Copyright © 2023 ZweiBieren, All rights reserved. Feb 5, 2023 17:05 GMT Page maintained by ZweiBieren