builtins.def revision 222386
1275988Sngie#!/bin/sh -
2240116Smarcel
3240116Smarcel#-
4240116Smarcel# Copyright (c) 1991, 1993
5240116Smarcel#	The Regents of the University of California.  All rights reserved.
6240116Smarcel#
7240116Smarcel# This code is derived from software contributed to Berkeley by
8240116Smarcel# Kenneth Almquist.
9240116Smarcel#
10240116Smarcel# Redistribution and use in source and binary forms, with or without
11240116Smarcel# modification, are permitted provided that the following conditions
12240116Smarcel# are met:
13240116Smarcel# 1. Redistributions of source code must retain the above copyright
14240116Smarcel#    notice, this list of conditions and the following disclaimer.
15240116Smarcel# 2. Redistributions in binary form must reproduce the above copyright
16240116Smarcel#    notice, this list of conditions and the following disclaimer in the
17240116Smarcel#    documentation and/or other materials provided with the distribution.
18240116Smarcel# 4. Neither the name of the University nor the names of its contributors
19240116Smarcel#    may be used to endorse or promote products derived from this software
20240116Smarcel#    without specific prior written permission.
21240116Smarcel#
22240116Smarcel# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23240116Smarcel# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24275988Sngie# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25240116Smarcel# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26275988Sngie# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27240116Smarcel# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28240116Smarcel# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29240116Smarcel# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30240116Smarcel# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31240116Smarcel# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32240116Smarcel# SUCH DAMAGE.
33240116Smarcel#
34240116Smarcel#	@(#)builtins.def	8.4 (Berkeley) 5/4/95
35240116Smarcel# $FreeBSD: head/bin/sh/builtins.def 222386 2011-05-27 20:53:07Z jilles $
36240116Smarcel
37240116Smarcel#
38240116Smarcel# This file lists all the builtin commands.  The first column is the name
39240116Smarcel# of a C routine.
40240116Smarcel# The -j flag specifies that this command is to be excluded from systems
41240116Smarcel# without job control.
42240116Smarcel# The -h flag specifies that this command is to be excluded from systems
43240116Smarcel# based on the NO_HISTORY compile-time symbol.
44240116Smarcel# The -s flag specifies that this is a POSIX 'special built-in' command.
45240116Smarcel# The rest of the line specifies the command name or names used to run the
46240116Smarcel# command.  The entry for bltincmd, which is run when the user does not specify
47240116Smarcel# a command, must come first.
48240116Smarcel#
49240116Smarcel# NOTE: bltincmd must come first!
50240116Smarcel
51240116Smarcelbltincmd	builtin
52240116Smarcelaliascmd	alias
53bgcmd -j	bg
54bindcmd		bind
55breakcmd	-s break -s continue
56cdcmd		cd chdir
57commandcmd	command
58dotcmd		-s .
59echocmd		echo
60evalcmd		-s eval
61execcmd		-s exec
62exitcmd		-s exit
63letcmd		let
64exportcmd	-s export -s readonly
65#exprcmd		expr
66falsecmd	false
67fgcmd -j	fg
68getoptscmd	getopts
69hashcmd		hash
70histcmd -h	fc
71jobidcmd	jobid
72jobscmd		jobs
73killcmd		kill
74localcmd	local
75printfcmd	printf
76pwdcmd		pwd
77readcmd		read
78returncmd	-s return
79setcmd		-s set
80setvarcmd	setvar
81shiftcmd	-s shift
82testcmd		test [
83timescmd	-s times
84trapcmd		-s trap
85truecmd		-s : true
86typecmd		type
87ulimitcmd	ulimit
88umaskcmd	umask
89unaliascmd	unalias
90unsetcmd	-s unset
91waitcmd		wait
92wordexpcmd	wordexp
93