builtins.def revision 127958
1#!/bin/sh -
2#
3# Copyright (c) 1991, 1993
4#	The Regents of the University of California.  All rights reserved.
5#
6# This code is derived from software contributed to Berkeley by
7# Kenneth Almquist.
8#
9# Redistribution and use in source and binary forms, with or without
10# modification, are permitted provided that the following conditions
11# are met:
12# 1. Redistributions of source code must retain the above copyright
13#    notice, this list of conditions and the following disclaimer.
14# 2. Redistributions in binary form must reproduce the above copyright
15#    notice, this list of conditions and the following disclaimer in the
16#    documentation and/or other materials provided with the distribution.
17# 4. Neither the name of the University nor the names of its contributors
18#    may be used to endorse or promote products derived from this software
19#    without specific prior written permission.
20#
21# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
22# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
25# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31# SUCH DAMAGE.
32#
33#	@(#)builtins.def	8.4 (Berkeley) 5/4/95
34# $FreeBSD: head/bin/sh/builtins.def 127958 2004-04-06 20:06:54Z markm $
35
36#
37# This file lists all the builtin commands.  The first column is the name
38# of a C routine.  The -j flag, if present, specifies that this command
39# is to be excluded from systems without job control, and the -h flag,
40# if present specifies that this command is to be excluded from systems
41# based on the NO_HISTORY compile-time symbol.  The rest of the line
42# specifies the command name or names used to run the command.  The entry
43# for bltincmd, which is run when the user does not specify a command, must
44# come first.
45#
46# NOTE: bltincmd must come first!
47
48bltincmd	builtin
49commandcmd	command
50#alloccmd	alloc
51bgcmd -j	bg
52breakcmd	break continue
53#catfcmd	catf
54cdcmd		cd chdir
55dotcmd		.
56echocmd		echo
57evalcmd		eval
58execcmd		exec
59exitcmd		exit
60expcmd		exp let
61exportcmd	export readonly
62#exprcmd		expr
63falsecmd	false
64histcmd -h	fc
65fgcmd -j	fg
66getoptscmd	getopts
67hashcmd		hash
68jobidcmd	jobid
69jobscmd		jobs
70#linecmd		line
71localcmd	local
72#nlechocmd	nlecho
73#printfcmd	printf
74pwdcmd		pwd
75readcmd		read
76returncmd	return
77setcmd		set
78setvarcmd	setvar
79shiftcmd	shift
80trapcmd		trap
81truecmd		: true
82typecmd		type
83umaskcmd	umask
84unaliascmd	unalias
85unsetcmd	unset
86waitcmd		wait
87#foocmd		foo
88aliascmd	alias
89ulimitcmd	ulimit
90testcmd		test [
91bindcmd		bind
92wordexpcmd	wordexp
93