Se voglio ottenere un breve messaggio di utilizzo per un built-in bash, posso usarlo help <builtin>
al prompt dei comandi, ad es
$ help export
export: export [-fn] [name[=value] ...] or export -p
Set export attribute for shell variables.
Marks each NAME for automatic export to the environment of subsequently
executed commands. If VALUE is supplied, assign VALUE before exporting.
Options:
-f refer to shell functions
-n remove the export property from each NAME
-p display a list of all exported variables and functions
An argument of `--' disables further option processing.
Exit Status:
Returns success unless an invalid option is given or NAME is invalid.
Come posso farlo in zsh? ho provato
% export --help
zsh: bad option: -e
e
% help export
zsh: command not found: help
Anche la parola "aiuto" non è da nessuna parte man zshbuiltins
.