#include "V.h"
/*
* Unlink all the names on the command line.
* The exit status is the number of failures.
*/
main(ac,av)
	char**av;
{	int a, r=0;
:1	ac = Vinit(ac,av);
	for (a=1; a<ac; a++) {
:1		V1 "Unlink \"%s\"",av[a] D;
		if (Unlink(av[a]) < 0) {
:1			V1 "Unlink \"%s\" failed [Err %d=%s=%s]",av[a],Errlist D;
			++r;
		}
	}
	Exit(r);
}
