view netdiff/renpart/main.c @ 142:7bdce91da1a5

unet-excise utility added
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 19 Sep 2020 22:50:24 +0000
parents 77acb816727b
children
line wrap: on
line source

#include <stdio.h>
#include <stdlib.h>
#include "struct.h"

struct part_rename *part_rename_list;

main(argc, argv)
	char **argv;
{
	int i;

	if (argc != 3) {
		fprintf(stderr, "usage: %s input-donl rename-parts-file\n",
			argv[0]);
		exit(1);
	}
	process_rename_file(argv[2]);
	main_process(argv[1]);
	exit(0);
}