Stanza (computing)

From HandWiki

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

  • XML stanza

References

  1. Compare: von Hagen, William (2009). Ubuntu 8.10 Linux Bible (2 ed.). Indianapolis: John Wiley & Sons. pp. 908, 914. ISBN 9780470502747. https://books.google.com/books?id=sl6GkVpZ5bEC. 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 [...]" 
  2. For example: "Stanza files". IBM. https://www.ibm.com/support/knowledgecenter/STXKQY_4.2.0/com.ibm.spectrum.scale.v4r2.adm.doc/bl1adm_stanzafiles.htm. "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." 
  3. Krafft, Martin F. (2005). The Debian System: Concepts and Techniques. San Francisco: No Starch Press. p. 324. ISBN 9781593270698. https://books.google.com/books?id=CLC36PmPVtAC. 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."