builtins.def revision 50471
1192859Ssson#!/bin/sh - 2192859Ssson# 3192859Ssson# Copyright (c) 1991, 1993 4192859Ssson# The Regents of the University of California. All rights reserved. 5192859Ssson# 6192859Ssson# This code is derived from software contributed to Berkeley by 7192859Ssson# Kenneth Almquist. 8192859Ssson# 9192859Ssson# Redistribution and use in source and binary forms, with or without 10192859Ssson# modification, are permitted provided that the following conditions 11192859Ssson# are met: 12192859Ssson# 1. Redistributions of source code must retain the above copyright 13192859Ssson# notice, this list of conditions and the following disclaimer. 14192859Ssson# 2. Redistributions in binary form must reproduce the above copyright 15192859Ssson# notice, this list of conditions and the following disclaimer in the 16192859Ssson# documentation and/or other materials provided with the distribution. 17192859Ssson# 3. All advertising materials mentioning features or use of this software 18192859Ssson# must display the following acknowledgement: 19192859Ssson# This product includes software developed by the University of 20192859Ssson# California, Berkeley and its contributors. 21192859Ssson# 4. Neither the name of the University nor the names of its contributors 22192859Ssson# may be used to endorse or promote products derived from this software 23192859Ssson# without specific prior written permission. 24192859Ssson# 25192859Ssson# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 26192859Ssson# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 27192859Ssson# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 28192859Ssson# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 29192859Ssson# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 30192859Ssson# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31192859Ssson# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32192859Ssson# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33192859Ssson# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34192859Ssson# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35192859Ssson# SUCH DAMAGE. 36192859Ssson# 37192859Ssson# @(#)builtins.def 8.4 (Berkeley) 5/4/95 38192859Ssson# $FreeBSD: head/bin/sh/builtins.def 50471 1999-08-27 23:15:48Z peter $ 39192859Ssson 40192859Ssson# 41192859Ssson# This file lists all the builtin commands. The first column is the name 42192859Ssson# of a C routine. The -j flag, if present, specifies that this command 43192859Ssson# is to be excluded from systems without job control, and the -h flag, 44192859Ssson# if present specifies that this command is to be excluded from systems 45192859Ssson# based on the NO_HISTORY compile-time symbol. The rest of the line 46192859Ssson# specifies the command name or names used to run the command. The entry 47192859Ssson# for bltincmd, which is run when the user does not specify a command, must 48192859Ssson# come first. 49192859Ssson# 50192859Ssson# NOTE: bltincmd must come first! 51192859Ssson 52192859Sssonbltincmd command 53192859Ssson#alloccmd alloc 54192859Sssonbgcmd -j bg 55192859Sssonbreakcmd break continue 56192859Ssson#catfcmd catf 57192859Sssoncdcmd cd chdir 58192859Sssondotcmd . 59192859Sssonechocmd echo 60192859Sssonevalcmd eval 61192859Sssonexeccmd exec 62192859Sssonexitcmd exit 63192859Sssonexpcmd exp let 64192859Sssonexportcmd export readonly 65192859Ssson#exprcmd expr test [ 66192859Sssonfalsecmd false 67192859Sssonhistcmd -h fc 68192859Sssonfgcmd -j fg 69192859Sssongetoptscmd getopts 70192859Sssonhashcmd hash 71192859Sssonjobidcmd jobid 72192859Sssonjobscmd jobs 73192859Ssson#linecmd line 74192859Sssonlocalcmd local 75192859Ssson#nlechocmd nlecho 76192859Sssonprintfcmd printf 77192859Sssonpwdcmd pwd 78192859Sssonreadcmd read 79192859Sssonreturncmd return 80192859Sssonsetcmd set 81192859Sssonsetvarcmd setvar 82192859Sssonshiftcmd shift 83192859Sssontrapcmd trap 84192859Sssontruecmd : true 85192859Sssontypecmd type 86192859Sssonumaskcmd umask 87192859Sssonunaliascmd unalias 88192859Sssonunsetcmd unset 89192859Sssonwaitcmd wait 90192859Ssson#foocmd foo 91192859Sssonaliascmd alias 92192859Sssonulimitcmd ulimit 93192859Ssson