summaryrefslogtreecommitdiff
path: root/devdocs/bash/compound-commands.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/bash/compound-commands.html
new repository
Diffstat (limited to 'devdocs/bash/compound-commands.html')
-rw-r--r--devdocs/bash/compound-commands.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/devdocs/bash/compound-commands.html b/devdocs/bash/compound-commands.html
new file mode 100644
index 00000000..1947e8a8
--- /dev/null
+++ b/devdocs/bash/compound-commands.html
@@ -0,0 +1,6 @@
+<h1 class="subsection">Compound Commands</h1> <p>Compound commands are the shell programming language constructs. Each construct begins with a reserved word or control operator and is terminated by a corresponding reserved word or operator. Any redirections (see <a href="redirections">Redirections</a>) associated with a compound command apply to all commands within that compound command unless explicitly overridden. </p> <p>In most cases a list of commands in a compound command’s description may be separated from the rest of the command by one or more newlines, and may be followed by a newline in place of a semicolon. </p> <p>Bash provides looping constructs, conditional commands, and mechanisms to group commands and execute them as a unit. </p> <ul class="section-toc"> <li><a href="looping-constructs" accesskey="1">Looping Constructs</a></li> <li><a href="conditional-constructs" accesskey="2">Conditional Constructs</a></li> <li><a href="command-grouping" accesskey="3">Grouping Commands</a></li> </ul><div class="_attribution">
+ <p class="_attribution-p">
+ Copyright &copy; 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.<br>Licensed under the GNU Free Documentation License.<br>
+ <a href="https://www.gnu.org/software/bash/manual/html_node/Compound-Commands.html" class="_attribution-link">https://www.gnu.org/software/bash/manual/html_node/Compound-Commands.html</a>
+ </p>
+</div>