date and time created 91/03/07 20:24:11 by bostic
[unix-history] / usr / src / bin / sh / builtins.def
CommitLineData
ba45ae50
KB
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.1 (Berkeley) %G%
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
36exportcmd export readonly
37#exprcmd expr test [
38fgcmd -j fg
39getoptscmd getopts
40hashcmd hash
41jobidcmd jobid
42jobscmd jobs
43lccmd lc
44#linecmd line
45localcmd local
46#nlechocmd nlecho
47pwdcmd pwd
48readcmd read
49returncmd return
50setcmd set
51setvarcmd setvar
52shiftcmd shift
53trapcmd trap
54truecmd : true
55umaskcmd umask
56unsetcmd unset
57waitcmd wait