On Mon, Jul 7, 2014 at 7:34 PM, Chris Down <ch...@chrisdown.name> wrote:
> Hi Jon,
>
> As is standard with other buitins, umask is documented at `help umask`:
>
>     chris@gopher:~$ help umask
>     umask: umask [-p] [-S] [mode]
>         Display or set file mode mask.
>
>         Sets the user file-creation mask to MODE.  If MODE is omitted, prints
>         the current value of the mask.
>
>         If MODE begins with a digit, it is interpreted as an octal number;
>         otherwise it is a symbolic mode string like that accepted by chmod(1).
>
>         Options:
>           -p    if MODE is omitted, output in a form that may be reused as 
> input
>           -S    makes the output symbolic; otherwise an octal number is output
>
>         Exit Status:
>         Returns success unless MODE is invalid or an invalid option is given.
>
> The umask builtin is also documented in `man bash`.

Thank you for the tips. I see it now.

Could this information be added to the places that don't currently refer to it?

e.g. these two places:

A)
--help: -- Please see "help umask" for documentation

B) man umask:   Please see "help umask" for documentation

Saving the need to hunt it down..

Thanks, Jon

Reply via email to