xref: /original-bsd/bin/sh/builtins.def (revision 68a7e0e7)
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.1 (Berkeley) 05/31/93
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 [
41histcmd		fc
42fgcmd -j	fg
43getoptscmd	getopts
44hashcmd		hash
45jobidcmd	jobid
46jobscmd		jobs
47#linecmd		line
48localcmd	local
49#nlechocmd	nlecho
50printfcmd	printf
51pwdcmd		pwd
52readcmd		read
53returncmd	return
54setcmd		set
55setvarcmd	setvar
56shiftcmd	shift
57trapcmd		trap
58truecmd		: true
59umaskcmd	umask
60unaliascmd	unalias
61unsetcmd	unset
62waitcmd		wait
63#foocmd		foo
64aliascmd	alias
65