Add the POSIX option -p to the jobs builtin command. It prints the PID of the
commit91f9c2c0651a2ebe05ec6e59a1b821548e05d8e4
authorPeter Avalos <pavalos@dragonflybsd.org>
Sat, 13 Jan 2007 20:33:47 +0000 (13 20:33 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sat, 13 Jan 2007 20:33:47 +0000 (13 20:33 +0000)
tree44db15f9e832b008f17c78d586d571756178824c
parent9215a29466e483c50c6094a18f7373fe69eac049
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