coreutils
[Top][All Lists]
Advanced

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

Re: removal of kill?


From: Stephane Chazelas
Subject: Re: removal of kill?
Date: Mon, 9 Nov 2015 19:33:21 +0000
User-agent: Mutt/1.5.21 (2010-09-15)


2015-11-09 15:27:41 +0000, Pádraig Brady:
> I see on most GNU/Linux distros that kill(1) is
> provided by the shell or util-linux.
> Should we just remove it from coreutils?
> 
> We might move 'kill' to the disabled_by_default_progs
> list in build-aux/gen-lists-of-programs.sh,
> but I'm thinking we should do like we did with su
> and just remove it?
> 
> What prompted this was noticing that util-linux
> and bash 4.4 have `kill -L` to produce a compact table,
> and balking at the idea of keeping these options in sync.
[...]

separate utilities for echo/kill/test/true/... even cd are
useful and being used, as in

lsof -t file | xargs kill

dirs_I_can_cd_to=$(find . -type f -exec cd {} \; -print)

...

I find it anoying when GNU systems are not providing with the
standard utilities as required by POSIX.

However, those that are typically "sh" builtins don't need to be
provided as separate re-implemented utilities. Like on several
other systems, they can be implemented as a sh script that does:

#! /path/to/the/relevant/sh
"${0##*/}" "$@"


-- 
Stephane




reply via email to

[Prev in Thread] Current Thread [Next in Thread]