Add the POSIX option -p to the jobs builtin command. It prints the PID of the
authorPeter Avalos <pavalos@dragonflybsd.org>
Sat, 13 Jan 2007 20:33:47 +0000 (20:33 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sat, 13 Jan 2007 20:33:47 +0000 (20:33 +0000)
commit9d7989ded399051c542b1558aa456ada15e0204b
treea7a3805ee967547eeb88b9ca87b1b2e39bfa1c81
parente75cae5d5602bc7e1b0efe49908afed59b1f39eb
Add the POSIX option -p to the jobs builtin command.  It prints the PID of the
process leader for each job.  Now the last specified option for the output
format (-l, -p or -s) wins, previously -s trumped -l.

Obtained-from:  FreeBSD
bin/sh/jobs.c
bin/sh/jobs.h
bin/sh/main.c
bin/sh/sh.1