From owner-cvs-all@FreeBSD.ORG Sun Dec 4 18:44:22 2005 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 5E1C516A41F; Sun, 4 Dec 2005 18:44:22 +0000 (GMT) (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 B7C5943D68; Sun, 4 Dec 2005 18:44:21 +0000 (GMT) (envelope-from stefanf@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jB4IiLm6053433; Sun, 4 Dec 2005 18:44:21 GMT (envelope-from stefanf@repoman.freebsd.org) Received: (from stefanf@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jB4IiLjM053432; Sun, 4 Dec 2005 18:44:21 GMT (envelope-from stefanf) Message-Id: <200512041844.jB4IiLjM053432@repoman.freebsd.org> From: Stefan Farfeleder Date: Sun, 4 Dec 2005 18:44:21 +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 builtins.def eval.c eval.h 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: Sun, 04 Dec 2005 18:44:22 -0000 stefanf 2005-12-04 18:44:21 UTC FreeBSD src repository Modified files: bin/sh builtins.def eval.c eval.h sh.1 Log: Add the times builtin. It reports the user and system time for the shell itself and its children. Instead of calling times() (as implied by POSIX) this implementation directly calls getrusage() to get the times because this is more convenient. Revision Changes Path 1.16 +1 -0 src/bin/sh/builtins.def 1.49 +26 -0 src/bin/sh/eval.c 1.11 +1 -0 src/bin/sh/eval.h 1.115 +6 -1 src/bin/sh/sh.1