+ if(fff)\r
+ {\r
+ fflush(stdout);\r
+ sub=fork();\r
+ if(sub==0)\r
+ {\r
+ if(freopen(temppath,"wt",stdout)==NULL)\r
+ exit(255);\r
+ r=execl(LS_PATH,LS_PATH,"-1","--color=never",RMOV_PATH,(char *)0);\r
+ exit(r);\r
+ }\r
+ waitpid(sub,&r,0);\r
+ if(r)\r
+ printf("No messages.<br>\n");\r
+ else\r
+ {\r
+ printf("<br><table class=\"pl\"><tr class=\"pls\"><td colspan=\"5\">RMVD</td></tr>\n");\r
+ printf("<tr class=\"plt\"><td class=\"plk\">sent</td><td class=\"plk\">received</td><td class=\"plk\">author</td><td class=\"plk\">subject</td><td class=\"plk\">action</td></tr>\n");\r
+ \r
+ tempfile=fopen(temppath,"rt");\r
+ if(tempfile!=NULL)\r
+ {\r
+ for(i=0; fgets(line,31,tempfile)!=NULL; ++i)\r
+ {\r
+ sscanf(line,"%s",filename);\r
+ sprintf(postpath,"%s%s",RMOV_PATH,filename);\r
+ \r
+ fflush(stdout);\r
+ sub=fork();\r
+ if(!sub)\r
+ {\r
+ r=execl(MAWK_PATH,MAWK_PATH,"-f",AWK_POSTED,"-v",i&0x1?"r2=1":"r2=0","-v","cat=rm","-v",fff?"fff=fff":"f=f",postpath,(char *)0);\r
+ exit(r);\r
+ }\r
+ waitpid(sub,&r,0);\r
+ if(r)\r
+ --i;\r
+ \r
+ }\r
+ fclose(tempfile);\r
+ }\r
+ \r
+ }\r
+ printf("</table>\n");\r
+ } \r