I am using bash
I wanted to read the documentation of set
But when i typed man set
,it is showing
No manual entry for set
But when i code
set hit="COVID19"
echo $1
it prints as
hit=COVID19
How to find and add the man
page of set
inside the current man pages.
bash: set: --: invalid option
– AdminBee May 29 '20 at 15:42set --help
would only work in ksh93 and recent versions ofbash
(4.4+). With olderbash
,help set
would work better. See alsoinfo bash set
(orinfo zsh set
forzsh
'sset
builtin), andset --man
(orset --nroff 2>&1 | man -l -
) inksh93
. – Stéphane Chazelas May 29 '20 at 15:43man set
works on a typicalUNIX
system. That man page however does not include information on thebash
builtin command but just for the default shells. – schily May 29 '20 at 15:52