[Pkg-zsh-devel] Bug#862978: Bug#862978: zsh: `kill -L` doesn't work
Daniel Shahaf
danielsh at apache.org
Fri May 19 15:02:41 UTC 2017
On Fri, May 19, 2017, at 14:36, Robbie Harwood wrote:
> As per kill(1), -L should generate a pretty list of signals and values. Like
> this:
The -L option exists in the system's kill command (/bin/kill) but not in zsh's
builtin kill command (which you get when you type a bare 'kill'). That is fine
because the -L command is a Linux extension to the standard, as documented in
both kill(1) and kill(1p) (the latter from the manpages-posix package).
So, if you want the -L option, call the system's kill command, not the zsh
builtin one. For example:
% =kill -L
% /bin/kill -L
Bottom line: everything works as expected/documented.
Cheers,
Daniel
P.S. The reason for having a builtin kill command is to make things like
`kill %2` possible (= killing a job by job number).
More information about the Pkg-zsh-devel
mailing list