From owner-cvs-all@FreeBSD.ORG Sat Oct 7 16:51:24 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 350F016A49E; Sat, 7 Oct 2006 16:51:24 +0000 (UTC) (envelope-from stefanf@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5BDA43D68; Sat, 7 Oct 2006 16:51:20 +0000 (GMT) (envelope-from stefanf@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k97GpHFh019883; Sat, 7 Oct 2006 16:51:17 GMT (envelope-from stefanf@repoman.freebsd.org) Received: (from stefanf@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k97GpHZW019865; Sat, 7 Oct 2006 16:51:17 GMT (envelope-from stefanf) Message-Id: <200610071651.k97GpHZW019865@repoman.freebsd.org> From: Stefan Farfeleder Date: Sat, 7 Oct 2006 16:51:17 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/bin/sh jobs.c jobs.h main.c sh.1 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Oct 2006 16:51:24 -0000 stefanf 2006-10-07 16:51:17 UTC FreeBSD src repository Modified files: bin/sh jobs.c jobs.h main.c sh.1 Log: 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. PR: 99926 Submitted by: Ed Schouten and novel (patches modified by me) Revision Changes Path 1.72 +23 -17 src/bin/sh/jobs.c 1.19 +8 -1 src/bin/sh/jobs.h 1.29 +1 -1 src/bin/sh/main.c 1.124 +8 -3 src/bin/sh/sh.1