Bash (Unix shell): Difference between revisions

Content deleted Content added
Syntax: Add blockquote to Merriam-Webster, defining "syntax"
Syntax: rearrange paragraphs
Line 502:
[]
-->
:: <syntaxhighlight lang = text>
"Tokens"
\_ "Blanks"
\_ "Operators" (Ops)
\_ "Control Ops"
\_ "Redirection Ops"
\_ "Words"
\_ "Reserved Words"
\_ "Names"
</syntaxhighlight>
 
{{Blockquote
| syn{{dot}}tax 1.a. the way in which linguistic elements (such as words) are put together to form constituents (such as phrases or clauses)<ref>
{{Cite web
| access-date = 25 August 2025
Line 514 ⟶ 524:
| author = Merriam-Webster Dictionary
}}
 
:: <syntaxhighlight lang = text>
"Tokens"
\_ "Blanks"
\_ "Operators" (Ops)
\_ "Control Ops"
\_ "Redirection Ops"
\_ "Words"
\_ "Reserved Words"
\_ "Names"
</syntaxhighlight>
 
When Bash reads a full commandline, the complete string is broken down according to a certain set of rules into individual units called ''"tokens."''