xref: /original-bsd/bin/sh/builtins.def (revision 0d869007)
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# %sccs.include.redist.sh%
10#
11#	@(#)builtins.def	8.2 (Berkeley) 04/27/95
12
13#
14# This file lists all the builtin commands.  The first column is the name
15# of a C routine.  The -j flag, if present, specifies that this command
16# is to be excluded from systems without job control.  The rest of the line
17# specifies the command name or names used to run the command.  The entry
18# for bltincmd, which is run when the user does not specify a command, must
19# come first.
20#
21# Copyright (C) 1989 by Kenneth Almquist.  All rights reserved.
22# This file is part of ash, which is distributed under the terms specified
23# by the Ash General Public License.  See the file named LICENSE.
24#
25# NOTE: bltincmd must come first!
26
27bltincmd	command
28#alloccmd	alloc
29bgcmd -j	bg
30breakcmd	break continue
31#catfcmd	catf
32cdcmd		cd chdir
33dotcmd		.
34echocmd		echo
35evalcmd		eval
36execcmd		exec
37exitcmd		exit
38expcmd		exp let
39exportcmd	export readonly
40#exprcmd	expr test [
41falsecmd	false
42histcmd		fc
43fgcmd -j	fg
44getoptscmd	getopts
45hashcmd		hash
46jobidcmd	jobid
47jobscmd		jobs
48#linecmd		line
49localcmd	local
50#nlechocmd	nlecho
51printfcmd	printf
52pwdcmd		pwd
53readcmd		read
54returncmd	return
55setcmd		set
56setvarcmd	setvar
57shiftcmd	shift
58trapcmd		trap
59truecmd		: true
60umaskcmd	umask
61unaliascmd	unalias
62unsetcmd	unset
63waitcmd		wait
64#foocmd		foo
65aliascmd	alias
66