Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2010 17:38:53 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r207196 - in head: share/man/man1 usr.bin/alias
Message-ID:  <201004251738.o3PHcrWh022186@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004251738.o3PHcrWh022186>