10000 kill: Broken support for querying multiple signal names · Issue #6202 · uutils/coreutils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kill: Broken support for querying multiple signal names #6202

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
BenWiederhake opened this issue Apr 7, 2024 · 5 comments
Closed

kill: Broken support for querying multiple signal names #6202

BenWiederhake opened this issue Apr 7, 2024 · 5 comments
Labels

Comments

@BenWiederhake
Copy link
Collaborator
BenWiederhake commented Apr 7, 2024

Example:

$ ../gnu/src/kill --version | head -n1
kill (GNU coreutils) 9.5
$ ../gnu/src/kill -l SIGUSR1 SIGUSR2
10
12
$ cargo run --all-features kill -l SIGUSR1 SIGUSR2
10
$

Note that the bash built-in kill also supports querying multiple names at the same time, but the Debian default binary (procps-ng 4.0.4) does not.

More issues found while checking #6201

@m-haisham
Copy link
Contributor

Noticed that the gnu starts with 1 while uutils starts with 0.

--- STDOUT_GNU	
- 1 HUP      Hangup
+++ STDOUT_UUTILS
+ 0 EXIT

I'll change uutils to start with 1 as well if that's acceptable.

@m-haisham
Copy link
Contributor
m-haisham commented Apr 7, 2024

I'll post a pr for 3rd and a partial fix for 1st after #6201 has been merged.

The signal descriptions does not seem to be available for use in uucore atm. So probably best to add them in another pull request.

I am not sure about what should be done for the 2nd.

@tertsdiepraam
Copy link
Member
tertsdiepraam commented Apr 12, 2024

@BenWiederhake, what's the status here. Can we close this with #6216 ? If not, should we maybe move the rest to separate issues?

@BenWiederhake
Copy link
Collaborator Author

Yeah, you're right, it should be separate issues. I was a bit too lazy when I created this issue :)

@BenWiederhake BenWiederhake changed the title kill: Differences from GNU 9.5 kill: Broken support for querying multiple signal names Apr 12, 2024
@BenWiederhake
Copy link
Collaborator Author

This particular issue was fixed by #6210.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants
0