From owner-svn-src-head@FreeBSD.ORG Sun Apr 25 17:38:53 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA4BE106564A; Sun, 25 Apr 2010 17:38:53 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A07B48FC19; Sun, 25 Apr 2010 17:38:53 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o3PHcrbR022189; Sun, 25 Apr 2010 17:38:53 GMT (envelope-from jilles@svn.freebsd.org) Received: (from jilles@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o3PHcrWh022186; Sun, 25 Apr 2010 17:38:53 GMT (envelope-from jilles@svn.freebsd.org) Message-Id: <201004251738.o3PHcrWh022186@svn.freebsd.org> From: Jilles Tjoelker Date: Sun, 25 Apr 2010 17:38:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r207196 - in head: share/man/man1 usr.bin/alias X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2010 17:38:53 -0000 Author: jilles Date: Sun Apr 25 17:38:53 2010 New Revision: 207196 URL: http://svn.freebsd.org/changeset/base/207196 Log: Make hash, type and ulimit available via execve(). These are specified by POSIX but are not special builtins, and therefore need to be available via execve() and utilities like time, nohup, xargs. (Note that hash was moved from the XSI option to the base in the 2008 standard.) Like most of the POSIX "regular builtin commands", these need to be executed in a shell environment for full functionality, although they may still be of some use outside one. Unlike the POSIX special and regular builtin commands, POSIX does not require these to be found before a PATH search, although that could be an oversight. Like some of the utilities already provided by usr.bin/alias, these may lead to confusing results when invoked from csh(1). Modified: head/share/man/man1/builtin.1 head/usr.bin/alias/Makefile Modified: head/share/man/man1/builtin.1 ============================================================================== --- head/share/man/man1/builtin.1 Sun Apr 25 16:43:41 2010 (r207195) +++ head/share/man/man1/builtin.1 Sun Apr 25 17:38:53 2010 (r207196) @@ -245,7 +245,7 @@ but are implemented as scripts using a b .It Ic getopts Ta No** Ta \&No Ta Yes .It Ic glob Ta \&No Ta Yes Ta \&No .It Ic goto Ta \&No Ta Yes Ta \&No -.It Ic hash Ta \&No Ta \&No Ta Yes +.It Ic hash Ta No** Ta \&No Ta Yes .It Ic hashstat Ta \&No Ta Yes Ta \&No .It Ic history Ta \&No Ta Yes Ta \&No .It Ic hup Ta \&No Ta Yes Ta \&No @@ -290,8 +290,8 @@ but are implemented as scripts using a b .It Ic times Ta \&No Ta \&No Ta Yes .It Ic trap Ta \&No Ta \&No Ta Yes .It Ic true Ta Yes Ta \&No Ta Yes -.It Ic type Ta \&No Ta \&No Ta Yes -.It Ic ulimit Ta \&No Ta \&No Ta Yes +.It Ic type Ta No** Ta \&No Ta Yes +.It Ic ulimit Ta No** Ta \&No Ta Yes .It Ic umask Ta No** Ta Yes Ta Yes .It Ic unalias Ta No** Ta Yes Ta Yes .It Ic uncomplete Ta \&No Ta Yes Ta \&No Modified: head/usr.bin/alias/Makefile ============================================================================== --- head/usr.bin/alias/Makefile Sun Apr 25 16:43:41 2010 (r207195) +++ head/usr.bin/alias/Makefile Sun Apr 25 17:38:53 2010 (r207196) @@ -10,8 +10,11 @@ LINKS= ${BINDIR}/alias ${BINDIR}/bg \ ${BINDIR}/alias ${BINDIR}/fc \ ${BINDIR}/alias ${BINDIR}/fg \ ${BINDIR}/alias ${BINDIR}/getopts \ + ${BINDIR}/alias ${BINDIR}/hash \ ${BINDIR}/alias ${BINDIR}/jobs \ ${BINDIR}/alias ${BINDIR}/read \ + ${BINDIR}/alias ${BINDIR}/type \ + ${BINDIR}/alias ${BINDIR}/ulimit \ ${BINDIR}/alias ${BINDIR}/umask \ ${BINDIR}/alias ${BINDIR}/unalias \ ${BINDIR}/alias ${BINDIR}/wait