Lines Matching refs:command
8 +void cr2semicolon(char *command)
11 + len=strlen(command);
13 + if(*(command+i)=='\n') *(command+i)=';';
40 + cr2semicolon(c->command);
41 fprintf(fp, "@exec %s\n", c->command);
44 + cr2semicolon(c->command);
45 fprintf(fp, "@unexec %s\n", c->command);
183 + char command[1024];
185 + snprintf(command, sizeof(command), "du -k -s %s", directory);
186 + fp = popen(command, "r");
522 + if (1 == ++n) /* Only write %pre if there is at least one command */
524 fprintf(fp, "%s\n", c->command);
537 + if (1 == ++n) /* Only write %post if there is at least one command */
539 fprintf(fp, "%s\n", c->command);
583 fprintf(fp, "%s\n", c->command);
596 + if (1 == ++n) /* Only write %post if there is at least one command */
598 fprintf(fp, "%s\n", c->command);