action(argv[argc - 1]);
action(*argv);
main(argc, argv)	int argc;	char **argv;{	int ch, do_stdin = 0;	char *cp, line[BUFSIZE];#ifdef __sparc__	char *optstring = "-cf:ivN:";#else	char *optstring = "-cf:i";#endif /* __sparc__ */	while ((ch = getopt(argc, argv, optstring)) != -1)		switch (ch) {		case '-':			do_stdin = 1;			break;		case 'c':			fix_checksum = 1;			break;		case 'f':			path_eeprom = path_openprom = optarg;			break;		case 'i':			ignore_checksum = 1;			break;#ifdef __sparc__		case 'v':			verbose = 1;			break;		case 'N':			system = optarg;			break;#endif /* __sparc__ */		case '?':		default:			usage();		}	argc -= optind;	argv += optind;#ifdef __sparc__	if (getcputype() != CPU_SUN4)		use_openprom = 1;#endif /* __sparc__ */	if (use_openprom == 0) {		ee_verifychecksums();		if (fix_checksum || cksumfail)			exit(cksumfail);	}	if (do_stdin) {		while (fgets(line, BUFSIZE, stdin) != NULL) {			if (line[0] == '\n')				continue;			if ((cp = strrchr(line, '\n')) != NULL)				*cp = '\0';			action(line);		}		if (ferror(stdin))			err(++eval, "stdin");	} else {		if (argc == 0) {			dump_prom();			exit(eval + cksumfail);		}		while (argc) {			action(argv[argc - 1]);			++argv;			--argc;		}	}	if (use_openprom == 0)		if (update_checksums) {			++writecount;			ee_updatechecksums();		}	exit(eval + cksumfail);}