#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
FILE *fp;
FILE *fpconf;
FILE *fpw;
int filenum;
int rc;
int size = 0;
char buff[8192];
char *aimbuf;
char *bimbuf;
char aimbuff[200];
char *infpname;
char *outfpname;
printf("the argc is %d/n", argc);
infpname = argv[1]; //input file
printf("infpname is %s/n", infpname);
outfpname = argv[2]; //output file
printf("outfpname is %s/n", outfpname);
fpconf = fopen(outfpname, "rb");
if (fpconf == NULL)
printf("open write file error/n");
while (fgets(buff, 8192, fpconf) != NULL) {
bimbuf = strstr(buff, "ro