diff options
Diffstat (limited to '')
-rw-r--r-- | doc/groff.html.node/Conditionals-and-Loops.html | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/doc/groff.html.node/Conditionals-and-Loops.html b/doc/groff.html.node/Conditionals-and-Loops.html new file mode 100644 index 0000000..b05ce5d --- /dev/null +++ b/doc/groff.html.node/Conditionals-and-Loops.html @@ -0,0 +1,64 @@ +<!DOCTYPE html> +<html> +<!-- Created by GNU Texinfo 7.0.3, https://www.gnu.org/software/texinfo/ --> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<!-- This manual documents GNU troff version 1.23.0. + +Copyright © 1994-2023 Free Software Foundation, Inc. + +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 or +any later version published by the Free Software Foundation; with no +Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A +copy of the license is included in the section entitled "GNU Free +Documentation License". --> +<title>Conditionals and Loops (The GNU Troff Manual)</title> + +<meta name="description" content="Conditionals and Loops (The GNU Troff Manual)"> +<meta name="keywords" content="Conditionals and Loops (The GNU Troff Manual)"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="makeinfo"> +<meta name="viewport" content="width=device-width,initial-scale=1"> + +<link href="index.html" rel="start" title="Top"> +<link href="Request-Index.html" rel="index" title="Request Index"> +<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> +<link href="GNU-troff-Reference.html" rel="up" title="GNU troff Reference"> +<link href="Writing-Macros.html" rel="next" title="Writing Macros"> +<link href="Strings.html" rel="prev" title="Strings"> + + +</head> + +<body lang="en"> +<div class="section-level-extent" id="Conditionals-and-Loops"> +<div class="nav-panel"> +<p> +Next: <a href="Writing-Macros.html" accesskey="n" rel="next">Writing Macros</a>, Previous: <a href="Strings.html" accesskey="p" rel="prev">Strings</a>, Up: <a href="GNU-troff-Reference.html" accesskey="u" rel="up">GNU <code class="code">troff</code> Reference</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Request-Index.html" title="Index" rel="index">Index</a>]</p> +</div> +<hr> +<h3 class="section" id="Conditionals-and-Loops-1">5.23 Conditionals and Loops</h3> +<a class="index-entry-id" id="index-conditionals-and-loops"></a> +<a class="index-entry-id" id="index-loops-and-conditionals"></a> + +<p><code class="code">groff</code> has <code class="code">if</code> and <code class="code">while</code> control structures like +other languages. However, the syntax for grouping multiple input lines +in the branches or bodies of these structures is unusual. +</p> + + +<ul class="mini-toc"> +<li><a href="Operators-in-Conditionals.html" accesskey="1">Operators in Conditionals</a></li> +<li><a href="if_002dthen.html" accesskey="2">if-then</a></li> +<li><a href="if_002delse.html" accesskey="3">if-else</a></li> +<li><a href="Conditional-Blocks.html" accesskey="4">Conditional Blocks</a></li> +<li><a href="while.html" accesskey="5">while</a></li> +</ul> +</div> + + + +</body> +</html> |