Skip to main content

Timeline for man set is not found in bash?

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
May 29, 2020 at 15:52 comment added schily You are observing a typical Linux problem. man set works on a typical UNIX system. That man page however does not include information on the bash builtin command but just for the default shells.
May 29, 2020 at 15:45 comment added AdminBee @StéphaneChazelas thank you, that's good to know (seriously). Still, it was originally meant as a caveat to this answer, and it may be worth including that information in the post.
May 29, 2020 at 15:43 comment added Stéphane Chazelas @AdminBee, set --help would only work in ksh93 and recent versions of bash (4.4+). With older bash, help set would work better. See also info bash set (or info zsh set for zsh's set builtin), and set --man (or set --nroff 2>&1 | man -l -) in ksh93.
May 29, 2020 at 15:42 comment added AdminBee If I do that in Linux Mint, I get bash: set: --: invalid option
May 29, 2020 at 15:42 review First posts
May 29, 2020 at 16:34
May 29, 2020 at 15:42 history edited AdminBee CC BY-SA 4.0
Formatting
May 29, 2020 at 15:38 history answered carrotNugget CC BY-SA 4.0