builtins.def revision 25235
1210036Simp#!/bin/sh - 2210036Simp# 3210036Simp# Copyright (c) 1991, 1993 4210036Simp# The Regents of the University of California. All rights reserved. 5210036Simp# 6210036Simp# This code is derived from software contributed to Berkeley by 7210036Simp# Kenneth Almquist. 8210036Simp# 9210036Simp# Redistribution and use in source and binary forms, with or without 10210036Simp# modification, are permitted provided that the following conditions 11210036Simp# are met: 12210036Simp# 1. Redistributions of source code must retain the above copyright 13210036Simp# notice, this list of conditions and the following disclaimer. 14210036Simp# 2. Redistributions in binary form must reproduce the above copyright 15210036Simp# notice, this list of conditions and the following disclaimer in the 16210036Simp# documentation and/or other materials provided with the distribution. 17210036Simp# 3. All advertising materials mentioning features or use of this software 18210036Simp# must display the following acknowledgement: 19210036Simp# This product includes software developed by the University of 20210036Simp# California, Berkeley and its contributors. 21210036Simp# 4. Neither the name of the University nor the names of its contributors 22210036Simp# may be used to endorse or promote products derived from this software 23210036Simp# without specific prior written permission. 24210036Simp# 25210036Simp# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 26210036Simp# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 27210036Simp# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 28210036Simp# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 29210036Simp# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 30210036Simp# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31210036Simp# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32210036Simp# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33210036Simp# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34210036Simp# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35210036Simp# SUCH DAMAGE. 36210036Simp# 37211730Simp# @(#)builtins.def 8.4 (Berkeley) 5/4/95 38211730Simp# $Id: builtins.def,v 1.5 1997/02/22 13:58:22 peter Exp $ 39210036Simp 40210036Simp# 41210036Simp# This file lists all the builtin commands. The first column is the name 42210036Simp# of a C routine. The -j flag, if present, specifies that this command 43211730Simp# is to be excluded from systems without job control, and the -h flag, 44210036Simp# if present specifies that this command is to be excluded from systems 45210036Simp# based on the NO_HISTORY compile-time symbol. The rest of the line 46210036Simp# specifies the command name or names used to run the command. The entry 47210036Simp# for bltincmd, which is run when the user does not specify a command, must 48211730Simp# come first. 49211730Simp# 50210036Simp# NOTE: bltincmd must come first! 51210036Simp 52210036Simpbltincmd command 53#alloccmd alloc 54bgcmd -j bg 55breakcmd break continue 56#catfcmd catf 57cdcmd cd chdir 58dotcmd . 59echocmd echo 60evalcmd eval 61execcmd exec 62exitcmd exit 63expcmd exp let 64exportcmd export readonly 65#exprcmd expr test [ 66falsecmd false 67histcmd -h fc 68fgcmd -j fg 69getoptscmd getopts 70hashcmd hash 71jobidcmd jobid 72jobscmd jobs 73#linecmd line 74localcmd local 75#nlechocmd nlecho 76printfcmd printf 77pwdcmd pwd 78readcmd read 79returncmd return 80setcmd set 81setvarcmd setvar 82shiftcmd shift 83trapcmd trap 84truecmd : true 85typecmd type 86umaskcmd umask 87unaliascmd unalias 88unsetcmd unset 89waitcmd wait 90#foocmd foo 91aliascmd alias 92ulimitcmd ulimit 93