Next: , Previous: , Up: Scripts   [Contents][Index]

6.2.9 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.


validate-html-notify [--dry-run] RCPT FILE

Does not actually send the message, just like mailfail. In this case it runs gnun-validate-html without --verbose because it is expected that the expanded file will be available locally.


The recipient of the message.


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.