Shopt: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://bash.cyberciti.biz/bash-reference-manual/Bash-Builtins.html#shopt =Internal= * Bash")
 
No edit summary
Line 6: Line 6:


* [[Bash#Built-In_Commands|Bash]]
* [[Bash#Built-In_Commands|Bash]]
=Overview=
Toggle the values of variables controlling optional shell behavior, or lit all settable options, with an indication of whether or not each is set (-s means set, -u means unset).
=Options=
==nullglob==
If set, bash allows filename patterns which match no files to expand to a null string, rather than themselves.

Revision as of 02:08, 29 April 2020

External

Internal

Overview

Toggle the values of variables controlling optional shell behavior, or lit all settable options, with an indication of whether or not each is set (-s means set, -u means unset).

Options

nullglob

If set, bash allows filename patterns which match no files to expand to a null string, rather than themselves.