INCLAN: echo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
The possible settings are: | The possible settings are: | ||
; off | :; off: Commands are not echoed. | ||
: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. | ||
;NULL | ;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. | |||
;on | ;full: All commands are echoed, and the corresponding line numbers in macros are given. | ||
: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 '''full'''. |
Revision as of 15:30, 11 August 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.