← Back to team overview

touch-packages team mailing list archive

[Bug 1488939] Re: kill -L behaviour (is it a doc or code error?)

 

The parameter parsing for the bash builtins is based on this:
   #define ISOPTION(s, c) (s[0] == '-' && !s[2] && s[1] == c)

In addition the -- is used to recognize negative numbers to signify
process groups instead of just a process.

This is rather unusable for lonopts, but at least the -L could be coded
without being too invasive.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/1488939

Title:
  kill -L behaviour (is it a doc or code error?)

Status in One Hundred Papercuts:
  Confirmed
Status in procps package in Ubuntu:
  Confirmed

Bug description:
  $man kill
  [...]
         -L, --table
                List signal names in a nice table.
  [...Examples section]
         kill -L
                List the available signal choices in a nice table.

  $ kill -L
  bash: kill: L: invalid signal specification

  I'm not sure if it is a doc or code error, but the actual behaviour is
  not what the doc describes...

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1488939/+subscriptions


References