[haiku-bugs] [Haiku] #10156: Implement -o option to customize the program output

  • From: "diger" <trac@xxxxxxxxxxxx>
  • Date: Tue, 29 Oct 2013 09:38:38 -0000

#10156: Implement -o option to customize the program output
---------------------------------------------+-----------------------------
 Reporter:  diger                            |        Owner:  nobody
     Type:  enhancement                      |       Status:  new
 Priority:  normal                           |    Milestone:  R1
Component:  Applications/Command Line Tools  |      Version:
 Keywords:                                   |  R1/Development
 Blocking:                                   |   Blocked By:
 Platform:  All                              |  Has a Patch:  0
---------------------------------------------+-----------------------------
 [ps] Implement -o option to customize the program output

 It should help in porting shell scripts to have possibility to customize
 the ps tool output with the -o option as is implemented in other operation
 systems. For example:


 {{{
 /boot> ps
 Team                                                  Id #Threads  Gid
 Uid
 kernel_team                                            1       50    0
 0
 /boot/apps/Pe/Pe                                   156192        7    0
 0
 /boot/apps/WebPositive                             176176        7    0
 0

 -------------------------------------------------------------------------------
 /boot> ps -o Id,Team
 Team                      Id
 1                      kernel_team
 156192                 /boot/apps/Pe/Pe
 176176                 /boot/apps/WebPositive
 }}}

--
Ticket URL: <http://dev.haiku-os.org/ticket/10156>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts:

  • » [haiku-bugs] [Haiku] #10156: Implement -o option to customize the program output - diger