bug-bash
[Top][All Lists]
Advanced

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

bash manual on interactive shell


From: Mallika
Subject: bash manual on interactive shell
Date: Sun, 12 Dec 2021 18:03:33 -0800

ref:
https://www.gnu.org/software/bash/manual/html_node/What-is-an-Interactive-Shell_003f.html

"An interactive shell is one started without non-option arguments, unles*s*
-s is specified, without specifying the -c option, and whose input and
error output are both connected to terminals (as determined by isatty(3)), or
one started with the -i option."

I'm a little confused about how all the and's and or's combine (I suppose
it's obvious if you're a little more familiar with the material - but it
would be great if it were possible to express this by indentation),

but I'd actually decided to write in just to clarify that first line:
"started without non-option arguments,"

Does "option arguments" mean "option*al* arguments"?
If so, is the statement even correct? i.e. should it not be
"started without optional arguments"?

If the double-negative* is *actually correct, wouldn't the same sentiment
be expressed by "started with only option(al?) arguments"? Double-negatives
are inherently confusing, so it would be helpful to avoid them.

-Mallika


reply via email to

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