INCLAN: echo: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
m (1 revision)  | 
				No edit summary  | 
				||
| Line 1: | Line 1: | ||
The '''echo''' variable determines which commands are echoed, i.e. copied to standard output before execution. The possible settings are:  | |||
; off  | |||
:Commands are not echoed.  | |||
;NULL  | |||
:(or not set at all) In macros, all commands except those built into the command line interpreter are echoed; interactive commands are not echoed.  | |||
;on  | |||
:Commands that are not built into the command interpreter are echoed regardless of whether they occur in macros or interactively.  | |||
;large  | |||
:Same as '''on''', except that the echo is surrounded by blank lines.  | |||
;full  | |||
:All commands are echoed, and the corresponding line numbers in macros are given.  | |||
Labels are not included in the echo, but variable substitutions are. Statements preceded by "@" are only echoed if '''echo''' has the value '''full'''.  | |||
Labels are not included in the echo, but variable substitutions are.  | |||
Statements preceded by "@" are only echoed if echo has the value   | |||
Revision as of 23:39, 18 February 2009
The echo variable determines which commands are echoed, i.e. copied to standard output before execution. The possible settings are:
- off
 - Commands are not echoed.
 - NULL
 - (or not set at all) In macros, all commands except those built into the command line interpreter are echoed; interactive commands are not echoed.
 - on
 - Commands that are not built into the command interpreter are echoed regardless of whether they occur in macros or interactively.
 - large
 - Same as on, except that the echo is surrounded by blank lines.
 - full
 - All commands are echoed, and the corresponding line numbers in macros are given.
 
Labels are not included in the echo, but variable substitutions are. Statements preceded by "@" are only echoed if echo has the value full.