bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: umask --help


From: Notes Jonny
Subject: Re: umask --help
Date: Mon, 7 Jul 2014 19:46:11 +0100

On Mon, Jul 7, 2014 at 7:34 PM, Chris Down <chris@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

[Prev in Thread] Current Thread [Next in Thread]