xref: /original-bsd/bin/sh/builtins.def (revision 89e46f9f)
1#!/bin/sh -
2#
3# Copyright (c) 1991 The Regents of the University of California.
4# 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	5.2 (Berkeley) 04/30/92
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 nullcmd, 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
25bltincmd	command
26#alloccmd	alloc
27bgcmd -j	bg
28breakcmd	break continue
29#catfcmd	catf
30cdcmd		cd chdir
31dotcmd		.
32echocmd		echo
33evalcmd		eval
34execcmd		exec
35exitcmd		exit
36expcmd		exp let
37exportcmd	export readonly
38#exprcmd	expr test [
39fgcmd -j	fg
40getoptscmd	getopts
41hashcmd		hash
42jobidcmd	jobid
43jobscmd		jobs
44lccmd		lc
45#linecmd		line
46localcmd	local
47#nlechocmd	nlecho
48pwdcmd		pwd
49readcmd		read
50returncmd	return
51setcmd		set
52setvarcmd	setvar
53shiftcmd	shift
54trapcmd		trap
55truecmd		: true
56umaskcmd	umask
57unsetcmd	unset
58waitcmd		wait
59