INCLAN: echo: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
m (1 revision)
 
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Synopsis ==


"echo" is a variable that determines which commands are echoed, i.e. copied
'''echo'''
to standard output before execution. The possible settings are:


off    Commands are not echoed.
== Description ==
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.
Determines which commands are echoed, i.e. copied to standard output before execution. The possible settings are:
Statements preceded by "@" are only echoed if echo has the value "full".
;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.
 
;off:Commands are not echoed.
 
;on:Both in macros and interactively, all commands except those built into the command line interpreter are echoed.
 
;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.
 
;OFF:Same as '''off''', except that this setting can only be overridden by another value written in capital letters.
 
;ON:Same as '''on''', except that this setting can only be overridden by another value written in capital letters.
 
;LARGE:Same as '''large''', except that this setting can only be overridden by another value written in capital letters.
 
;FULL:Same as '''full''', except that this setting can only be overridden by another value written in capital letters. This setting is particularly useful for debugging macros in which the echo is suppressed.
 
Labels are not included in the echo, but variable substitutions are. Statements preceded by “'''@'''” are only echoed if '''echo''' has the value '''full''' or '''FULL'''.

Latest revision as of 14:26, 17 August 2009

Synopsis

echo

Description

Determines which commands are echoed, i.e. copied to standard output before execution. The possible settings are:

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.
off
Commands are not echoed.
on
Both in macros and interactively, all commands except those built into the command line interpreter are echoed.
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.
OFF
Same as off, except that this setting can only be overridden by another value written in capital letters.
ON
Same as on, except that this setting can only be overridden by another value written in capital letters.
LARGE
Same as large, except that this setting can only be overridden by another value written in capital letters.
FULL
Same as full, except that this setting can only be overridden by another value written in capital letters. This setting is particularly useful for debugging macros in which the echo is suppressed.

Labels are not included in the echo, but variable substitutions are. Statements preceded by “@” are only echoed if echo has the value full or FULL.