xref: /original-bsd/bin/sh/builtins.def (revision b3c06cab)
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.4 (Berkeley) 05/04/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, and the -h flag,
17# if present specifies that this command is to be excluded from systems
18# based on the NO_HISTORY compile-time symbol.  The rest of the line
19# specifies the command name or names used to run the command.  The entry
20# for bltincmd, which is run when the user does not specify a command, must
21# come first.
22#
23# NOTE: bltincmd must come first!
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 [
39falsecmd	false
40histcmd -h	fc
41fgcmd -j	fg
42getoptscmd	getopts
43hashcmd		hash
44jobidcmd	jobid
45jobscmd		jobs
46#linecmd		line
47localcmd	local
48#nlechocmd	nlecho
49#printfcmd	printf
50pwdcmd		pwd
51readcmd		read
52returncmd	return
53setcmd		set
54setvarcmd	setvar
55shiftcmd	shift
56trapcmd		trap
57truecmd		: true
58umaskcmd	umask
59unaliascmd	unalias
60unsetcmd	unset
61waitcmd		wait
62#foocmd		foo
63aliascmd	alias
64ulimitcmd	ulimit
65