bug-coreutils
[Top][All Lists]
Advanced

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

Re: pkill


From: Alfred M\. Szmidt
Subject: Re: pkill
Date: Thu, 29 Sep 2005 23:23:11 +0200

   Remember, POSIX requires kill(1) to be a shell builtin, because it
   must support job syntax ("kill %1", for example), which cannot be
   done with normal POSIX child process semantics.

In that case, one can make the builtin kill a wrapper, that parses the
command line, and if it see %1 it replaces it with the process job pid
and passes that to the real kill, or the builtin kill if no system
kill utiltiy exists.

Just cause POSIX says something, doesn't mean that it is right.




reply via email to

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