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 --helpwould only work in ksh93 and recent versions ofbash(4.4+). With olderbash,help setwould work better. See alsoinfo bash set(orinfo zsh setforzsh'ssetbuiltin), andset --man(orset --nroff 2>&1 | man -l -) inksh93. – Stéphane Chazelas May 29 '20 at 15:43man setworks on a typicalUNIXsystem. That man page however does not include information on thebashbuiltin command but just for the default shells. – schily May 29 '20 at 15:52