builtins.def revision 1.18 1 1.18 agc #!/bin/sh -
2 1.18 agc # $NetBSD: builtins.def,v 1.18 2003/08/22 11:22:23 agc Exp $
3 1.18 agc #
4 1.18 agc # Copyright (c) 1991, 1993
5 1.18 agc # The Regents of the University of California. All rights reserved.
6 1.18 agc #
7 1.18 agc # This code is derived from software contributed to Berkeley by
8 1.18 agc # Kenneth Almquist.
9 1.18 agc #
10 1.18 agc # Redistribution and use in source and binary forms, with or without
11 1.18 agc # modification, are permitted provided that the following conditions
12 1.18 agc # are met:
13 1.18 agc # 1. Redistributions of source code must retain the above copyright
14 1.18 agc # notice, this list of conditions and the following disclaimer.
15 1.18 agc # 2. Redistributions in binary form must reproduce the above copyright
16 1.18 agc # notice, this list of conditions and the following disclaimer in the
17 1.18 agc # documentation and/or other materials provided with the distribution.
18 1.18 agc # 3. Neither the name of the University nor the names of its contributors
19 1.18 agc # may be used to endorse or promote products derived from this software
20 1.18 agc # without specific prior written permission.
21 1.18 agc #
22 1.18 agc # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23 1.18 agc # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 1.18 agc # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 1.18 agc # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26 1.18 agc # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 1.18 agc # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 1.18 agc # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 1.18 agc # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 1.18 agc # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 1.18 agc # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 1.18 agc # SUCH DAMAGE.
33 1.18 agc #
34 1.18 agc # @(#)builtins.def 8.4 (Berkeley) 5/4/95
35 1.18 agc
36 1.18 agc #
37 1.18 agc # This file lists all the builtin commands. The first column is the name
38 1.18 agc # of a C routine.
39 1.18 agc # The -j flag specifies that this command is to be excluded from systems
40 1.18 agc # without job control.
41 1.18 agc # The -h flag specifies that this command is to be excluded from systems
42 1.18 agc # based on the SMALL compile-time symbol.
43 1.18 agc # The -s flag specifies that this is a posix 'special builtin' command.
44 1.18 agc # The -u flag specifies that this is a posix 'standard utility'.
45 1.18 agc # The rest of the line specifies the command name or names used to run
46 1.18 agc # the command.
47 1.18 agc
48 1.18 agc bltincmd -u command
49 1.18 agc bgcmd -j -u bg
50 1.18 agc breakcmd -s break -s continue
51 1.18 agc cdcmd -u cd chdir
52 1.18 agc dotcmd -s .
53 1.18 agc echocmd echo
54 1.18 agc evalcmd -s eval
55 1.18 agc execcmd -s exec
56 1.18 agc exitcmd -s exit
57 1.18 agc expcmd exp let
58 1.18 agc exportcmd -s export -s readonly
59 1.18 agc falsecmd -u false
60 1.18 agc histcmd -h -u fc
61 1.18 agc inputrc inputrc
62 1.18 agc fgcmd -j -u fg
63 1.18 agc getoptscmd -u getopts
64 1.18 agc hashcmd hash
65 1.18 agc jobidcmd jobid
66 1.18 agc jobscmd -u jobs
67 1.18 agc localcmd local
68 1.18 agc printfcmd printf
69 1.18 agc pwdcmd -u pwd
70 1.18 agc readcmd -u read
71 1.18 agc returncmd -s return
72 1.18 agc setcmd -s set
73 1.18 agc setvarcmd setvar
74 1.18 agc shiftcmd -s shift
75 1.18 agc timescmd -s times
76 1.18 agc trapcmd -s trap
77 1.18 agc truecmd -s : -u true
78 1.18 agc typecmd type
79 1.18 agc umaskcmd -u umask
80 1.18 agc unaliascmd -u unalias
81 1.18 agc unsetcmd -s unset
82 1.18 agc waitcmd -u wait
83 1.18 agc aliascmd -u alias
84 1.18 agc ulimitcmd ulimit
85 1.18 agc testcmd test [
86 1.18 agc killcmd -u kill # mandated by posix for 'kill %job'
87 1.18 agc #newgrp -u newgrp # optional command in posix
88 1.18 agc
89 1.18 agc #exprcmd expr
90