115920Speter#!/bin/sh - 2139969Simp 3139969Simp#- 415920Speter# Copyright (c) 1991, 1993 515920Speter# The Regents of the University of California. All rights reserved. 615920Speter# 715920Speter# This code is derived from software contributed to Berkeley by 815920Speter# Kenneth Almquist. 915920Speter# 1015920Speter# Redistribution and use in source and binary forms, with or without 1115920Speter# modification, are permitted provided that the following conditions 1215920Speter# are met: 1315920Speter# 1. Redistributions of source code must retain the above copyright 1415920Speter# notice, this list of conditions and the following disclaimer. 1515920Speter# 2. Redistributions in binary form must reproduce the above copyright 1615920Speter# notice, this list of conditions and the following disclaimer in the 1715920Speter# documentation and/or other materials provided with the distribution. 1815920Speter# 4. Neither the name of the University nor the names of its contributors 1915920Speter# may be used to endorse or promote products derived from this software 2015920Speter# without specific prior written permission. 2115920Speter# 2215920Speter# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2315920Speter# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2415920Speter# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2515920Speter# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2615920Speter# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2715920Speter# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2815920Speter# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2915920Speter# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3015920Speter# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3115920Speter# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3215920Speter# SUCH DAMAGE. 3315920Speter# 3415920Speter# @(#)builtins.def 8.4 (Berkeley) 5/4/95 3550471Speter# $FreeBSD: releng/10.2/bin/sh/builtins.def 222386 2011-05-27 20:53:07Z jilles $ 3615920Speter 3715920Speter# 3815920Speter# This file lists all the builtin commands. The first column is the name 39157413Sstefanf# of a C routine. 40157413Sstefanf# The -j flag specifies that this command is to be excluded from systems 41157413Sstefanf# without job control. 42157413Sstefanf# The -h flag specifies that this command is to be excluded from systems 43157413Sstefanf# based on the NO_HISTORY compile-time symbol. 44157413Sstefanf# The -s flag specifies that this is a POSIX 'special built-in' command. 45157413Sstefanf# The rest of the line specifies the command name or names used to run the 46157413Sstefanf# command. The entry for bltincmd, which is run when the user does not specify 47157413Sstefanf# a command, must come first. 4815920Speter# 4915920Speter# NOTE: bltincmd must come first! 5015920Speter 51100437Stjrbltincmd builtin 52153094Sstefanfaliascmd alias 5315920Speterbgcmd -j bg 54153094Sstefanfbindcmd bind 55157413Sstefanfbreakcmd -s break -s continue 5615920Spetercdcmd cd chdir 57153094Sstefanfcommandcmd command 58157413Sstefanfdotcmd -s . 5915920Speterechocmd echo 60157413Sstefanfevalcmd -s eval 61157413Sstefanfexeccmd -s exec 62157413Sstefanfexitcmd -s exit 63222386Sjillesletcmd let 64157413Sstefanfexportcmd -s export -s readonly 6586505Sknu#exprcmd expr 6615920Speterfalsecmd false 6715920Speterfgcmd -j fg 6815920Spetergetoptscmd getopts 6915920Speterhashcmd hash 70153094Sstefanfhistcmd -h fc 7115920Speterjobidcmd jobid 7215920Speterjobscmd jobs 73216629Sjilleskillcmd kill 7415920Speterlocalcmd local 75215520Sjillesprintfcmd printf 7615920Speterpwdcmd pwd 7715920Speterreadcmd read 78157413Sstefanfreturncmd -s return 79157413Sstefanfsetcmd -s set 8015920Spetersetvarcmd setvar 81157413Sstefanfshiftcmd -s shift 82153094Sstefanftestcmd test [ 83157413Sstefanftimescmd -s times 84157413Sstefanftrapcmd -s trap 85157413Sstefanftruecmd -s : true 8625235Sstevetypecmd type 87153094Sstefanfulimitcmd ulimit 8815920Speterumaskcmd umask 8915920Speterunaliascmd unalias 90157413Sstefanfunsetcmd -s unset 9115920Speterwaitcmd wait 92108286Stjrwordexpcmd wordexp 93