Lines Matching defs:echo

163  * templates for echo control and error control.
184 * causes an error, so be it. Any templates set up to echo the command will
188 * The command-line flags "echo" and "exit" also control the behavior. The
189 * "echo" flag causes the shell to start echoing commands right away. The
215 const char *echoTmpl; /* template to echo a command */
228 const char *echoFlag; /* shell flag to echo commands */
233 /* Whether to echo the command before or instead of running it. */
234 bool echo;
344 "echo \"%s\"\n", /* .echoTmpl */
367 "echo \"%s\"\n", /* .echoTmpl */
393 "echo \"%s\"\n", /* .echoTmpl */
402 * CSH description. The csh can do echo control by playing
403 * with the setting of the 'echo' shell variable. Sadly,
416 "echo \"%s\"\n", /* .echoTmpl */
502 !job->echo ? 's' : '-',
747 out_cmdFlags->echo = true;
753 out_cmdFlags->echo = DEBUG(LOUD);
834 ShellWriter_ErrOff(ShellWriter *wr, bool echo)
836 if (echo)
839 if (echo)
844 ShellWriter_ErrOn(ShellWriter *wr, bool echo)
846 if (echo)
849 if (echo)
865 if (job->echo && inout_cmdFlags->echo) {
873 inout_cmdFlags->echo = false;
892 ShellWriter_ErrOff(wr, job->echo && inout_cmdFlags->echo);
961 if (!cmdFlags.echo) {
962 if (job->echo && run && shell->hasEchoCtl)
965 cmdFlags.echo = true;
980 if (job->echo && cmdFlags.echo) {
983 cmdFlags.echo = false;
1005 ShellWriter_ErrOn(wr, cmdFlags.echo && job->echo);
1007 if (!cmdFlags.echo)
1310 Job_Touch(GNode *gn, bool echo)
1322 if (echo || !GNode_ShouldExecute(gn)) {
1448 if (job->echo)
1603 (!job->echo ? "" :
1615 if (job->echo && shell->echoFlag != NULL) {
1646 job->echo = false;
1689 job->echo = !(opts.silent || gn->type & OP_SILENT);
1743 Job_Touch(gn, job->echo);
2398 * echo Command to turn echoing on
2406 * is true or template of command to echo a command
2453 } else if (strncmp(arg, "echo=", 5) == 0) {