Lines Matching refs:cmd
429 struct sed_cmd *cmd; local
439 cmd = v->v + v->v_length;
440 cmd->a1 = NULL;
441 cmd->a2 = NULL;
442 cmd->range_state = RANGE_INACTIVE;
443 cmd->addr_bang = false;
444 cmd->cmd = '\0'; /* something invalid, to catch bugs early */
447 return cmd;
587 static int mark_subst_opts P_((struct subst *cmd));
589 mark_subst_opts(cmd) in mark_subst_opts() argument
590 struct subst *cmd; in mark_subst_opts()
595 cmd->global = false;
596 cmd->print = false;
597 cmd->eval = false;
598 cmd->numb = 0;
599 cmd->outf = NULL;
637 cmd->eval = true;
641 if (cmd->print)
643 cmd->print |= (1 << cmd->eval); /* 1=before eval, 2=after */
647 if (cmd->global)
649 cmd->global = true;
653 cmd->outf = get_openfile(&file_write, "w", true);
658 if (cmd->numb)
660 cmd->numb = in_integer(ch);
661 if (!cmd->numb)
1110 cur_cmd->cmd = ch;