builtins.def revision 153093
1117259Sache#!/bin/sh - 2117259Sache 3117259Sache#- 4117259Sache# Copyright (c) 1991, 1993 5117259Sache# The Regents of the University of California. All rights reserved. 6117259Sache# 7117259Sache# This code is derived from software contributed to Berkeley by 8117259Sache# Kenneth Almquist. 9174990Sache# 10117259Sache# Redistribution and use in source and binary forms, with or without 11117259Sache# modification, are permitted provided that the following conditions 12117259Sache# are met: 13117259Sache# 1. Redistributions of source code must retain the above copyright 14117259Sache# notice, this list of conditions and the following disclaimer. 15117259Sache# 2. Redistributions in binary form must reproduce the above copyright 16117259Sache# notice, this list of conditions and the following disclaimer in the 17117259Sache# documentation and/or other materials provided with the distribution. 18117259Sache# 4. Neither the name of the University nor the names of its contributors 19117259Sache# may be used to endorse or promote products derived from this software 20117259Sache# without specific prior written permission. 21117259Sache# 22117259Sache# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 23117259Sache# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24174990Sache# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25117259Sache# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 26117259Sache# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27117259Sache# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28117259Sache# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29117259Sache# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30117259Sache# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31117259Sache# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32117259Sache# SUCH DAMAGE. 33117259Sache# 34117259Sache# @(#)builtins.def 8.4 (Berkeley) 5/4/95 35117259Sache# $FreeBSD: head/bin/sh/builtins.def 153093 2005-12-04 19:37:07Z stefanf $ 36117259Sache 37117259Sache# 38117259Sache# This file lists all the builtin commands. The first column is the name 39174990Sache# of a C routine. The -j flag, if present, specifies that this command 40117259Sache# is to be excluded from systems without job control, and the -h flag, 41117259Sache# if present specifies that this command is to be excluded from systems 42117259Sache# based on the NO_HISTORY compile-time symbol. The rest of the line 43117259Sache# specifies the command name or names used to run the command. The entry 44117259Sache# for bltincmd, which is run when the user does not specify a command, must 45117259Sache# come first. 46117259Sache# 47117259Sache# NOTE: bltincmd must come first! 48117259Sache 49174990Sachebltincmd builtin 50117259Sachecommandcmd command 51117259Sachebgcmd -j bg 52117259Sachebreakcmd break continue 53117259Sachecdcmd cd chdir 54117259Sachedotcmd . 55117259Sacheechocmd echo 56117259Sacheevalcmd eval 57117259Sacheexeccmd exec 58117259Sacheexitcmd exit 59117259Sacheexpcmd exp let 60117259Sacheexportcmd export readonly 61117259Sache#exprcmd expr 62117259Sachefalsecmd false 63117259Sachehistcmd -h fc 64117259Sachefgcmd -j fg 65117259Sachegetoptscmd getopts 66117259Sachehashcmd hash 67117259Sachejobidcmd jobid 68117259Sachejobscmd jobs 69117259Sachelocalcmd local 70117259Sache#printfcmd printf 71117259Sachepwdcmd pwd 72117259Sachereadcmd read 73117259Sachereturncmd return 74117259Sachesetcmd set 75117259Sachesetvarcmd setvar 76117259Sacheshiftcmd shift 77117259Sachetimescmd times 78117259Sachetrapcmd trap 79117259Sachetruecmd : true 80117259Sachetypecmd type 81117259Sacheumaskcmd umask 82117259Sacheunaliascmd unalias 83174990Sacheunsetcmd unset 84117259Sachewaitcmd wait 85117259Sachealiascmd alias 86117259Sacheulimitcmd ulimit 87117259Sachetestcmd test [ 88117259Sachebindcmd bind 89117259Sachewordexpcmd wordexp 90117259Sache