Skip to content

Commit fa02238

Browse files
authored
Merge pull request #432 from mportman12/interpreter-directive-2
added glossary entries
2 parents ba7886c + d0785a3 commit fa02238

File tree

3 files changed

+30
-0
lines changed
  • supplementary_style_guide/glossary_terms_conventions/general_conventions

3 files changed

+30
-0
lines changed

supplementary_style_guide/glossary_terms_conventions/general_conventions/h.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@
2020

2121
*See also*:
2222

23+
[[hashbang]]
24+
==== image:images/no.png[no] hashbang (noun)
25+
*Description*: Do not use _hashbang_ when referring to a computer language construct that controls which interpreter parses and interprets instructions in a computer program. Instead, on the first mention, include both "interpreter directive" and "shebang", for example, "Interpreter directives, also known as shebangs ...".
26+
27+
*Use it*: no
28+
29+
*Incorrect forms*:
30+
31+
*See also*: xref:interpreter-directive[interpreter directive], xref:shebang[shebang]
32+
2333
==== image:images/no.png[no] he (pronoun)
2434
[[he]]
2535

supplementary_style_guide/glossary_terms_conventions/general_conventions/i.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,16 @@ _This feature can run only on Intel 64 processors_
626626

627627
*See also*: xref:raw-interpreted-program[raw-interpreted program], xref:byte-compiled-program[byte-compiled program]
628628

629+
[[interpreter-directive]]
630+
==== image:images/yes.png[yes] interpreter directive (noun)
631+
*Description*: An _interpreter directive_, such as `#!/bin/bash`, is a computer language construct that controls which interpreter parses and interprets instructions in a computer program. This term is also commonly known as _shebang_. On the first mention, include both "interpreter directive" and "shebang", for example, "Interpreter directives, also known as shebangs ...". Do not use "hashbang".
632+
633+
*Use it*: yes
634+
635+
*Incorrect forms*: hashbang
636+
637+
*See also*: xref:shebang[shebang], xref:hashbang[hashbang]
638+
629639
// RHEL: Added "In Red Hat Enterprise Linux, an inventory is"
630640
[[inventory]]
631641
==== image:images/yes.png[yes] inventory (noun)

supplementary_style_guide/glossary_terms_conventions/general_conventions/s.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,16 @@ Use all lower case, unless used in a title or at the beginning of a sentence.
434434

435435
*See also*: xref:he[he]
436436

437+
[[shebang]]
438+
==== image:images/yes.png[yes] shebang (noun)
439+
*Description*: A _shebang_ is a common term for an _interpreter directive_, such as `#!/bin/bash`, which is a computer language construct that controls which interpreter parses and interprets instructions in a computer program. On the first mention, include both "interpreter directive" and "shebang", for example, "Interpreter directives, also known as shebangs ...". Do not use "hashbang".
440+
441+
*Use it*: yes
442+
443+
*Incorrect forms*: hashbang
444+
445+
*See also*: xref:interpreter-directive[interpreter directive], xref:hashbang[hashbang]
446+
437447
[[shell]]
438448
==== image:images/yes.png[yes] shell (noun)
439449
*Description*: A _shell_ is a software application (for example, `/bin/bash` or `/bin/sh`) that provides an interface to a computer. Do not use this term to describe the prompt where you type commands.

0 commit comments

Comments
 (0)