#include FILE *fp, *fp2; main(){ int i,n; char *p, s[300],t[300]; fp = fopen("index.html","r"); fp2 = fopen("index-new.html","w"); while(!feof(fp)){ fgets(s,100,fp); s[strlen(s)-1]='\0'; if(feof(fp)) break; if(strlen(s)<20){ fprintf(fp2,"%s\n", s); continue; } p = strstr(s," onclick=\"chg('"); if(p){ n = p-s; strncpy(t,s,n); t[n]='\0'; fprintf(fp2,"%s", t); n+=20; while(n