On 6/10/15 9:27 AM, Adam Endrodi wrote:
> 
> --- bash-4.2/doc/bash.1.orig  2015-06-10 15:09:04.000000000 +0200
> +++ bash-4.2/doc/bash.1       2015-06-10 15:19:55.000000000 +0200
> @@ -117,6 +117,18 @@
>  This option allows the positional parameters to be set
>  when invoking an interactive shell.
>  .TP
> +.B \-p
> +If the
> +.B \-p
> +is
> +.B not
> +present and the real and effective user or group IDs mismatch on startup,
> +the effective user and group IDs are set to the real ones.  This behavior
> +can be disabled with this flag, but see 
> +.SM
> +.B "INVOCATION"
> +for notes about setuid invocation.

The `-p' option is documented with the rest of the shell options in the
description of the `set' builtin.  It is not an option that's only
valid at invocation time, so it's not documented in the OPTIONS
section.  The INVOCATION section contains essentially the text above,
plus a description of the other effects it has at startup.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to