builtins.def revision 215520
160786Sps#!/bin/sh -
2128345Stjr
360786Sps#-
460786Sps# Copyright (c) 1991, 1993
560786Sps#	The Regents of the University of California.  All rights reserved.
660786Sps#
760786Sps# This code is derived from software contributed to Berkeley by
860786Sps# Kenneth Almquist.
960786Sps#
1060786Sps# Redistribution and use in source and binary forms, with or without
1160786Sps# modification, are permitted provided that the following conditions
1260786Sps# are met:
1360786Sps# 1. Redistributions of source code must retain the above copyright
1460786Sps#    notice, this list of conditions and the following disclaimer.
1560786Sps# 2. Redistributions in binary form must reproduce the above copyright
1660786Sps#    notice, this list of conditions and the following disclaimer in the
1760786Sps#    documentation and/or other materials provided with the distribution.
1860786Sps# 4. Neither the name of the University nor the names of its contributors
1960786Sps#    may be used to endorse or promote products derived from this software
2060786Sps#    without specific prior written permission.
2160786Sps#
2260786Sps# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2360786Sps# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2460786Sps# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2560786Sps# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2660786Sps# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2760786Sps# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2860786Sps# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2960786Sps# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
3060786Sps# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3160786Sps# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3260786Sps# SUCH DAMAGE.
3360786Sps#
3460786Sps#	@(#)builtins.def	8.4 (Berkeley) 5/4/95
3589019Sps# $FreeBSD: head/bin/sh/builtins.def 215520 2010-11-19 12:56:13Z jilles $
3660786Sps
3789019Sps#
3860786Sps# This file lists all the builtin commands.  The first column is the name
3960786Sps# of a C routine.
4060786Sps# The -j flag specifies that this command is to be excluded from systems
4160786Sps# without job control.
4260786Sps# The -h flag specifies that this command is to be excluded from systems
4360786Sps# based on the NO_HISTORY compile-time symbol.
4460786Sps# The -s flag specifies that this is a POSIX 'special built-in' command.
4589019Sps# The rest of the line specifies the command name or names used to run the
4689019Sps# command.  The entry for bltincmd, which is run when the user does not specify
4789019Sps# a command, must come first.
4889019Sps#
4989019Sps# NOTE: bltincmd must come first!
5089019Sps
5189019Spsbltincmd	builtin
5289019Spsaliascmd	alias
5389019Spsbgcmd -j	bg
5460786Spsbindcmd		bind
5560786Spsbreakcmd	-s break -s continue
5660786Spscdcmd		cd chdir
5760786Spscommandcmd	command
5860786Spsdotcmd		-s .
5960786Spsechocmd		echo
6060786Spsevalcmd		-s eval
6160786Spsexeccmd		-s exec
6260786Spsexitcmd		-s exit
6360786Spsexpcmd		exp let
6460786Spsexportcmd	-s export -s readonly
6560786Sps#exprcmd		expr
6660786Spsfalsecmd	false
6760786Spsfgcmd -j	fg
6860786Spsgetoptscmd	getopts
6960786Spshashcmd		hash
7060786Spshistcmd -h	fc
7160786Spsjobidcmd	jobid
7260786Spsjobscmd		jobs
7360786Spslocalcmd	local
7460786Spsprintfcmd	printf
7560786Spspwdcmd		pwd
7660786Spsreadcmd		read
7760786Spsreturncmd	-s return
7860786Spssetcmd		-s set
7960786Spssetvarcmd	setvar
8060786Spsshiftcmd	-s shift
8160786Spstestcmd		test [
8260786Spstimescmd	-s times
8360786Spstrapcmd		-s trap
8460786Spstruecmd		-s : true
8560786Spstypecmd		type
8660786Spsulimitcmd	ulimit
8760786Spsumaskcmd	umask
8860786Spsunaliascmd	unalias
8960786Spsunsetcmd	-s unset
9060786Spswaitcmd		wait
9160786Spswordexpcmd	wordexp
9260786Sps