aboutsummaryrefslogtreecommitdiffstats
path: root/doc/loopwhilex.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-07-30 03:21:52 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-07-30 03:21:52 +0000
commitbca250b0b2a1df4ceb939b71a269f71501fda024 (patch)
treef5e068250593ab854c215a0ec471e12b2295de0a /doc/loopwhilex.html
parenta78b3ea2b9097b0c40d7f7cfb8c03723c0d1273d (diff)
downloadexecline-bca250b0b2a1df4ceb939b71a269f71501fda024.tar.gz
Prepare for 2.10.0.0; remove pedantic posix; support loopwhilex -x ""
Diffstat (limited to 'doc/loopwhilex.html')
-rw-r--r--doc/loopwhilex.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/loopwhilex.html b/doc/loopwhilex.html
index 3fd6f08..860c4d8 100644
--- a/doc/loopwhilex.html
+++ b/doc/loopwhilex.html
@@ -26,7 +26,7 @@
<h2> Interface </h2>
<pre>
- loopwhilex [ -n ] [ -o <em>okcodes</em> | -x <em>breakcodes</em> ] <em>prog...</em>
+ loopwhilex [ -o <em>okcodes</em> | -x <em>breakcodes</em> ] <em>prog...</em>
</pre>
<ul>
@@ -48,9 +48,11 @@ looping as long as <em>prog</em> exits with one of the codes in
<li> <tt>-x</tt>&nbsp;<em>breakcodes</em>&nbsp;: like the previous
option, but with inverted meaning - the listed exit codes are codes
that will break the loop and exit, and the unlisted exit codes will keep
-the loop running. </li>
- <li> <tt>-n</tt>&nbsp;: negate the test. This option is now redundant,
-and may disappear soon. </li>
+the loop running. <tt>-x ""</tt> will make <tt>loopwhilex</tt> loop
+forever. </li>
+ <li> If both <tt>-o</tt> and <tt>-x</tt> options are given <tt>-o</tt>
+has priority and the list given by <tt>-x</tt> is ignored. If none of
+these options is given, <tt>-o 0</tt> is the default. </li>
</ul>
<h2> Notes </h2>