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' : '-',
745 out_cmdFlags->echo = true;
751 out_cmdFlags->echo = DEBUG(LOUD);
832 ShellWriter_ErrOff(ShellWriter *wr, bool echo)
834 if (echo)
837 if (echo)
842 ShellWriter_ErrOn(ShellWriter *wr, bool echo)
844 if (echo)
847 if (echo)
863 if (job->echo && inout_cmdFlags->echo) {
871 inout_cmdFlags->echo = false;
890 ShellWriter_ErrOff(wr, job->echo && inout_cmdFlags->echo);
957 if (!cmdFlags.echo) {
958 if (job->echo && run && shell->hasEchoCtl)
961 cmdFlags.echo = true;
976 if (job->echo && cmdFlags.echo) {
979 cmdFlags.echo = false;
1001 ShellWriter_ErrOn(wr, cmdFlags.echo && job->echo);
1003 if (!cmdFlags.echo)
1305 Job_Touch(GNode *gn, bool echo)
1317 if (echo || !GNode_ShouldExecute(gn)) {
1443 if (job->echo)
1598 (!job->echo ? "" :
1610 if (job->echo && shell->echoFlag != NULL) {
1641 job->echo = false;
1684 job->echo = !(opts.silent || gn->type & OP_SILENT);
1738 Job_Touch(gn, job->echo);
2393 * echo Command to turn echoing on
2401 * is true or template of command to echo a command
2448 } else if (strncmp(arg, "echo=", 5) == 0) {