bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

suggested doc patch for "shopt -o"


From: Bruce Korb
Subject: suggested doc patch for "shopt -o"
Date: Sat, 13 Jul 2013 09:28:32 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

$ diff -u bash.1 bash-new.1
--- bash.1      2013-07-13 08:55:41.312334646 -0700
+++ bash-new.1  2013-07-13 09:26:15.088438456 -0700
@@ -8820,11 +8820,16 @@
 or less than zero; otherwise 0.
 .TP
 \fBshopt\fP [\fB\-pqsu\fP] [\fB\-o\fP] [\fIoptname\fP ...]
-Toggle the values of variables controlling optional shell behavior.
-With no options, or with the
-.B \-p
-option, a list of all settable options is displayed, with
+Toggle the settings that control optional shell behavior.
+The changed behaviors may be either those listed below or, with the
+.B \-o
+option, those of the
+.B set \-o
+builtin command.
+Without any enable, disable or output suppression options,
+a list of all settable options is displayed, with
 an indication of whether or not each is set.
+.sp
 The \fB\-p\fP option causes output to be displayed in a form that
 may be reused as input.
 Other options have the following meanings:
@@ -8844,13 +8849,6 @@
 .BR \-q ,
 the return status is zero if all \fIoptnames\fP are enabled; non-zero
 otherwise.
-.TP
-.B \-o
-Restricts the values of \fIoptname\fP to be those defined for the
-.B \-o
-option to the
-.B set
-builtin.
 .PD
 .PP
 If either



reply via email to

[Prev in Thread] Current Thread [Next in Thread]