Project

General

Profile

Feature #12530

combine w(1) and whodo(1M)

Added by Jason King 3 months ago. Updated 9 days ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
cmd - userland programs
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Both the w(1) and whodo(1M) utilities have an excessive amount of duplicated code (there are even comments noting as much in the source). We should just combine these into a single source file to minimize the chance of future changes not being applied properly to both files. It might also be a good opportunity to clean up some of the other bits -- e.g. use libproc for gathering process information (as much as possible), etc.

History

#1

Updated by Yuri Pankov 10 days ago

  • Subject changed from Combine w(1) and whodo(1M) to combine w(1) and whodo(1M)
  • Status changed from New to In Progress
  • Assignee set to Yuri Pankov
  • % Done changed from 0 to 10
#2

Updated by Yuri Pankov 9 days ago

  • Status changed from In Progress to Feedback
  • Assignee deleted (Yuri Pankov)
  • % Done changed from 10 to 0

Actually after taking a look at what whodo(1M) really does, I don't see a point in keeping it at all - -l mode is already provided by w(1), and default mode looks quite useless in modern times.

Also available in: Atom PDF