request for modification to rundig.sh

Ted Stresen-Reuter <[email protected]>
Newsgroups gmane.comp.web.htdig.devel
Message-ID <[email protected]>
Hi,

I was wondering if someone could lend a hand modifying rundig.sh as 
follows.

I would like the email that is sent at the end of the run to include 
the following information:

- the hostname and IP of the machine that the script is running on
- the name (and path) of the script itself (in cases where multiple 
rundigs might be running)

I've managed to get the host name (`hostname`) and the pwd but I cannot 
figure out how to get the script to print it's own name (so that people 
can name it whatever they want, for portability).

What is the environment variable for the name and/or path of the 
currently executing script? $SELF doesn't seem to work (borrowing from 
PHP here...) and $SCRIPTNAME doesn't seem to work either. Any ideas?

Ted Stresen-Reuter



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
ht://Dig Developer mailing list:
[email protected]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.