Stanza (computing)
Appearance
In computing, a stanza consists of a related group of lines in a script or configuration file.[1] Formats depend on context.[2][3]
See also
[edit]References
[edit]- ^
Compare: von Hagen, William (2009). Ubuntu 8.10 Linux Bible (2 ed.). Indianapolis: John Wiley & Sons. pp. 908, 914. ISBN 9780470502747. Retrieved 2016-10-03.
GRUB configuration files typically contain multiple definitions [...]. Each set of related entries is referred to as a stanza [...] Each line in a stanza begins with a keyword [...]. [...] An exec stanza is used to execute a specific binary and associated command line [...]. A script stanza provides shell script code [...]
- ^
For example: "Stanza files". IBM Knowledge Center. IBM. Retrieved 2016-10-03.
The input to a number of GPFS[...] commands can be provided in a file organized in a stanza format. [...] A stanza is a series of whitespace-separated tokens that can span multiple lines. The beginning of a stanza is indicated by the presence of a stanza identifier as the first token on a line.
- ^
Krafft, Martin F. (2005). The Debian System: Concepts and Techniques. San Francisco: No Starch Press. p. 324. ISBN 9781593270698. Retrieved 2016-10-03.
The main network configuration file, /etc/network/interfaces, contains a number of different kinds of stanzas to describe various aspects of the network management system ifupdown. A stanza consists of a line starting with one of three possible directives, followed by a number of options. Additional parameters may follow on separate lines, which may be indented for clarity. A stanza ends with the beginning of a new stanza or at the end of the file.