Skip to main content
11 events
when toggle format what by license comment
Jun 24 at 23:33 history edited Gabriel Staples CC BY-SA 4.0
add clarity
Jun 26, 2020 at 21:34 history edited ilkkachu CC BY-SA 4.0
added 226 characters in body
Jun 26, 2020 at 20:01 comment added ilkkachu @GabrielStaples, this also reminds me of How do I know if the man page I'm looking at is the correct one?
Jun 26, 2020 at 19:58 comment added ilkkachu @GabrielStaples, well, yeah. The shell builtins don't have man pages of their own. set is described in Bash's manpage under "Shell builtin commands", but sure, you need to know it's a function of the shell and not an external program. (It has to be internal to the shell since it modifies the behavior of the shell itself, an external program can't well do that.)
Jun 26, 2020 at 19:55 vote accept Gabriel Staples
Jun 26, 2020 at 19:48 comment added Gabriel Staples Looks like one would have to know to check the set pages after reading the start of the man bash page, but man set doesn't show these options either, so you'd have to know to then check help set, which does show the -e and -u options, and their brief descriptions. That logical flow process to find this information is quite obscure.
Jun 26, 2020 at 18:19 history edited ilkkachu CC BY-SA 4.0
added 66 characters in body
Jun 26, 2020 at 18:13 comment added Quasímodo Oh, that's true, mine does not have it explicitly under OPTIONS either.
Jun 26, 2020 at 18:11 comment added ilkkachu @Quasímodo, mine only has SYNOPSIS: bash [options] [command_string | file] and they're not explicitly listed under OPTIONS, there's just the mention that the options to set can be used. The online manual has them listed in the invocation synopsis along with every other option: bash [long-opt] [-abefhkmnptuvxdBCDHP] [-o option] [-O shopt_option] -c string [argument …]
Jun 26, 2020 at 18:08 comment added Quasímodo I found them on the manpage (on Debian).
Jun 26, 2020 at 18:06 history answered ilkkachu CC BY-SA 4.0