mdw(1)

NAME
mdw - MD5sums a website

SYNOPSIS
mdw [ options ] url [ = checksum ] ...

DESCRIPTION
mdw allows you to checksum a webpage as well as compare that checksum with a previous checksum, with the aim of allowing you to find out if a site or sites have changed recently, or if they are currently being served. It supports the use of proxies and will transparently use the http redirect header (302) to determine the uri of the resource. It accepts any http-comliant url. i.e.: [http://]hostname[:port][path][#anchor][?query] The default behaviour is to output the list of url's supplied on the command line along with the checksum for that url and a status code.

STATUS-CODES

OK  The webpage was retrieved without error

ERROR
    There was an error in the retrieval of the webpage or the supplied checksum for comparison is not in the correct format.

MATCHED
    The url matched the checksum supplied on the command line

CHANGED
    The url did not match the checksum supplied on the command line

If the status code was ERROR then the checksum will be "-".

OPTIONS

-p proxy:port
    Use the specified proxy.

-a agent-name
    Pretend to be the specified user-agent.

-s  Ignore any proxy settings

-c  dont display checksum

-u  dont display url

-m  dont display status code

-e  hide all errors

-q  quiet mode, alias for -c -u -m

-Q  Very quiet mode, show NO output, be carefull with this, botched command lines will not result in a "usage:" message.

ENVIROMENT VARIABLES
Unless the -s or -p options are invoked the following environment variables are used (if present) in the specified order to determine the proxy:

http_proxy

HTTP_PROXY

RETURN VALUES
In the case of any error, either in the retrieval of a document, the mismatch of checksums or otherwise the return value will be 1. The default return value is 0 and is indicitive of all url's being successfully retrieved and all checksums matching (if apt).

SEE ALSO
md5(1), wget(1)

CREDITS
mdw is by Colm MacCárthaigh
    <colmmacc@redbrick.dcu.ie>
For more credits and a description of the license see the readme file that comes with the package.
    http://redbrick.dcu.ie/~colmmacc/src/
derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm