Lines Matching defs:echo

150  * templates for echo control and error control.
171 * causes an error, so be it. Any templates set up to echo the command will
175 * The command-line flags "echo" and "exit" also control the behavior. The
176 * "echo" flag causes the shell to start echoing commands right away. The
202 const char *echoTmpl; /* template to echo a command */
215 const char *echoFlag; /* shell flag to echo commands */
220 /* Whether to echo the command before or instead of running it. */
221 bool echo;
309 "echo \"%s\"\n", /* .echoTmpl */
332 "echo \"%s\"\n", /* .echoTmpl */
358 "echo \"%s\"\n", /* .echoTmpl */
367 * CSH description. The csh can do echo control by playing
368 * with the setting of the 'echo' shell variable. Sadly,
381 "echo \"%s\"\n", /* .echoTmpl */
467 !job->echo ? 's' : '-',
710 out_cmdFlags->echo = true;
716 out_cmdFlags->echo = DEBUG(LOUD);
797 ShellWriter_ErrOff(ShellWriter *wr, bool echo)
799 if (echo)
802 if (echo)
807 ShellWriter_ErrOn(ShellWriter *wr, bool echo)
809 if (echo)
812 if (echo)
828 if (job->echo && inout_cmdFlags->echo) {
836 inout_cmdFlags->echo = false;
855 ShellWriter_ErrOff(wr, job->echo && inout_cmdFlags->echo);
922 if (!cmdFlags.echo) {
923 if (job->echo && run && shell->hasEchoCtl)
926 cmdFlags.echo = true;
941 if (job->echo && cmdFlags.echo) {
944 cmdFlags.echo = false;
966 ShellWriter_ErrOn(wr, cmdFlags.echo && job->echo);
968 if (!cmdFlags.echo)
1270 Job_Touch(GNode *gn, bool echo)
1282 if (echo || !GNode_ShouldExecute(gn)) {
1408 if (job->echo)
1560 (!job->echo ? "" :
1572 if (job->echo && shell->echoFlag != NULL) {
1603 job->echo = false;
1632 job->echo = !(opts.silent || gn->type & OP_SILENT);
1691 Job_Touch(gn, job->echo);
2305 * echo Command to turn echoing on
2313 * is true or template of command to echo a command
2360 } else if (strncmp(arg, "echo=", 5) == 0) {