summaryrefslogtreecommitdiffstats
path: root/bin/sh/builtins.def
Commit message (Collapse)AuthorAgeFilesLines
* Use -s to flag POSIX's "special built-in" utilities in builtins.def. Add astefanf2006-04-021-20/+22
| | | | | | | | new member to struct builtincmd and set it to 1 if -s was specified. This is done because there are cases where special builtins must be treated differently from other builtins. Obtained from: NetBSD (builtins.def part)
* Sort.stefanf2005-12-041-6/+6
|
* Remove a few commented out builtins from the original ash. The filesstefanf2005-12-041-5/+0
| | | | implementing them were never part of FreeBSD.
* Add the times builtin. It reports the user and system time for the shellstefanf2005-12-041-0/+1
| | | | | | 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.
* /*- or .\"- or #- to begin license clauses.imp2005-01-101-1/+2
|
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
| | | | OK'ed by: imp, core
* Add the "wordexp" shell built-in command which will be used to implementtjr2002-12-261-0/+1
| | | | the POSIX wordexp() function.
* Add a `bind' builtin command, which is simply a wrapper around libedit'stjr2002-07-231-0/+1
| | | | | | | builtin command of the same name. This allows the key bindings for the shell's line editor to be changed. MFC after: 2 weeks
* Implement the P1003.2 `command' builtin command, which is used to suppresstjr2002-07-211-1/+2
| | | | | | shell function and alias lookup. The -p option has been implemented, the UPE -v and -V options have not. The old `command' command has been renamed to `builtin'.
* Remove the printf builtin command from sh(1), which command is notknu2001-11-201-1/+1
| | | | | | | | | | | | used so often that it's worth keeping it as a builtin. Now that all the printf invocations from within the system startup scripts, we can safely remove it. Urged by: sheldonh :) No MFC is planned so far because it may break compatibility and violate POLA.
* Make test(1) a builtin command of our sh(1) for efficiency. Theknu2001-11-171-1/+2
| | | | | | | | | | | binary size increase is 3,784 bytes (about 0.6%). I don't drop the printf builtin while I'm here because some /etc/rc.* scripts seem to use it before mounting /usr where printf(1) resides. Reviewed by: arch (sheldonh) Inspired by: NetBSD, ksh Clued by: ume (on how the printf builtin is used)
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Turn on the new type builtin.steve1997-04-281-1/+2
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* re-activate the printf builtin now that src/usr.bin/printf.c has beenpeter1996-10-011-2/+2
| | | | | tweaked to work as a builtin better (ie: calls the real printf formatting code, not sh's cut-down out1fmt() function)
* Merge of 4.4-Lite2 sh source, plus some gcc -Wall cleaning. This is apeter1996-09-011-0/+1
| | | | | | | | | | | | | | merge of parallel duplicate work by Steve Price and myself. :-] There are some changes to the build that are my fault... mkinit.c was trying (poorly) to duplicate some of the work that make(1) is designed to do. The Makefile hackery is my fault too, the depend list was incomplete because of some explicit OBJS+= entries, so mkdep wasn't picking up their source file #includes. This closes a pile of /bin/sh PR's, but not all of them.. Submitted by: Steve Price <steve@bonsai.hiwaay.net>, peter
* Import the 4.4BSD-Lite2 /bin/sh sourcespeter1996-05-271-0/+90
Requested by: joerg (Note, this is mostly going to be conflicts, which is expected. Our entire sh source has a mainline, so this should not change anything except for a few new files appearing. I dont think they are a problem)
OpenPOWER on IntegriCloud