When I try to use the value from $0, I get the full path to the script or a leading ./ depending on how the script is invoked. If I want my log file to have a line similar to:
# GENERATED BY myperlscript how can I do this without the extra info: # GENERATED BY ./myperlscript or # GENERATED BY /home/cplace/bin/myperlscript Thanks in advance for any help Chip Place -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]