Next: , Previous: mailfail, Up: Scripts


3.1.4 The validate-html-notify Script

This script is a wrapper around gnun-validate-html (see gnun-validate-html); it is necessary because it is hard to capture the output of the program from a program that itself captures the output of another program that it runs.

Usage:

     validate-html-notify [--dry-run] RCPT FILE
--dry-run
Does not actually send the message, just like mailfail.
RCPT
The recipient of the message.
FILE
The HTML file that has to be validated for compliance with the W3C standard.

The subject of the message is hardcoded in the script, since this wrapper has a specific task and cannot be used to invoke an arbitrary command—use mailfail for that. See mailfail.