Bug 30233 - kill сыпет ошибками несмотря на man
Summary: kill сыпет ошибками несмотря на man
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: coreutils (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-17 18:21 MSK by Speccyfighter
Modified: 2014-08-17 22:11 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Speccyfighter 2014-08-17 18:21:46 MSK
$ rpm -qf $(which kill)
coreutils-8.21-alt1

$ kill --list
bash: kill: -list: недопустимая спецификация сигнала

$ kill -t
bash: kill: t: недопустимая спецификация сигнала

$ kill --table
bash: kill: -table: недопустимая спецификация сигнала

$ kill --help
bash: kill: -help: недопустимая спецификация сигнала

$ kill --version
bash: kill: -version: недопустимая спецификация сигнала

Несмотря на:

man kill
       -l, --list
              list signal names, or convert signal names to/from numbers

       -t, --table
              print a table of signal information

       --help display this help and exit

       --version
              output version information and exit
Comment 1 Dmitry V. Levin 2014-08-17 19:53:03 MSK
$ type kill
kill is a shell builtin
Comment 2 Speccyfighter 2014-08-17 22:11:33 MSK
(В ответ на комментарий №1)
> $ type kill
> kill is a shell builtin

Понял:

$ /bin/kill -t
 1 HUP      Обрыв терминальной линии
 2 INT      Прерывание
 3 QUIT     Выход
...

И т.д.

help в /bin/kill начиная с адреса 00004854 в скомпиллированной версии в t7