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

Re: umask has no man page?



Andrei POPESCU wrote:
> On Lu, 03 nov 14, 13:56:36, Alexis wrote:
>>=20
>> Iain M Conochie writes:
>>=20
>> > However:
>> >=20
>> > $: which umask
>> > $:
>> >=20
>> > So umask is _not_ a program (in the sense that there is no binary
>> > called umask on the system)
>>=20
>> zsh, however, is more helpful:
>>=20
>> $ which umask
>> umask: shell built-in command
>
> Maybe a (wishlist) bug against debianutils is in order?

  is zsh providing a different version of which?

  are you suggesting which be altered or the
manual page be amended to include more information
about what to do when which fails to report any
matching command?


> Kind regards,
> Andrei

  :)

  man bash describes it well, but as the OP says
they don't know it is a builtin (until they poke at
it):

$ umask -h  # does reply:
$ bash: umask: -h: invalid option
$ umask: usage: umask [-p] [-S] [mode]


  songbird


Reply to: