url_watch: watch for the appearance of strings in web pages and notify via email. Usage: url_watch Options: -w '' List of email addresses to notify. (space separated) -u Add to the urls to watch. -p Add to the patterns to watch for. -f If embedded URLs match , those URLs are searched as well. -l Loop continously, waiting seconds between checks. -s Sleep seconds between URL fetches. -t Trim HTML tags before checking for pattern matches. -H Hit file used to avoid repeat matches. It is read at startup. A hit is a match *and* a found HREF="..." to the left of the match. The HREF url defines the hit, not the match itself. has one URL per line. -r Sets Must_Have_HREF. If a match has no corresponding HREF then do not report it. Each HTML file is processed and trimmed from left to right, so it is possible for a match to not have an HREF to its left. -c Configuration file (containing code like that at the top of this script) is sourced before each check iteration. This allows resetting the parameters, URLs, etc without having to restart the program. File should end with "1;" -m Specify the path to the Unix sendmail program. (Default: /usr/lib/sendmail) -T Set the timeout for url fetching. See the comments in the Configuration section for details. -C '' Command to run whenever a match is found. See the comments in the Configuration section for details. Notes: Use of -c may override parameters supplied on the cmd line.