builtins.def revision 153094
176866Skris#!/bin/sh - 276866Skris 376866Skris#- 476866Skris# Copyright (c) 1991, 1993 576866Skris# The Regents of the University of California. All rights reserved. 676866Skris# 776866Skris# This code is derived from software contributed to Berkeley by 876866Skris# Kenneth Almquist. 976866Skris# 1076866Skris# Redistribution and use in source and binary forms, with or without 1176866Skris# modification, are permitted provided that the following conditions 1276866Skris# are met: 1376866Skris# 1. Redistributions of source code must retain the above copyright 1476866Skris# notice, this list of conditions and the following disclaimer. 1576866Skris# 2. Redistributions in binary form must reproduce the above copyright 1676866Skris# notice, this list of conditions and the following disclaimer in the 1776866Skris# documentation and/or other materials provided with the distribution. 1876866Skris# 4. Neither the name of the University nor the names of its contributors 1976866Skris# may be used to endorse or promote products derived from this software 2076866Skris# without specific prior written permission. 2176866Skris# 2276866Skris# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2376866Skris# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2476866Skris# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2576866Skris# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2676866Skris# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2776866Skris# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2876866Skris# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2976866Skris# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3076866Skris# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3176866Skris# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3276866Skris# SUCH DAMAGE. 3376866Skris# 3476866Skris# @(#)builtins.def 8.4 (Berkeley) 5/4/95 3576866Skris# $FreeBSD: head/bin/sh/builtins.def 153094 2005-12-04 20:01:48Z stefanf $ 3676866Skris 3776866Skris# 3876866Skris# This file lists all the builtin commands. The first column is the name 3976866Skris# of a C routine. The -j flag, if present, specifies that this command 4076866Skris# is to be excluded from systems without job control, and the -h flag, 4176866Skris# if present specifies that this command is to be excluded from systems 4276866Skris# based on the NO_HISTORY compile-time symbol. The rest of the line 4376866Skris# specifies the command name or names used to run the command. The entry 4476866Skris# for bltincmd, which is run when the user does not specify a command, must 4576866Skris# come first. 4676866Skris# 4776866Skris# NOTE: bltincmd must come first! 48 49bltincmd builtin 50aliascmd alias 51bgcmd -j bg 52bindcmd bind 53breakcmd break continue 54cdcmd cd chdir 55commandcmd command 56dotcmd . 57echocmd echo 58evalcmd eval 59execcmd exec 60exitcmd exit 61expcmd exp let 62exportcmd export readonly 63#exprcmd expr 64falsecmd false 65fgcmd -j fg 66getoptscmd getopts 67hashcmd hash 68histcmd -h fc 69jobidcmd jobid 70jobscmd jobs 71localcmd local 72#printfcmd printf 73pwdcmd pwd 74readcmd read 75returncmd return 76setcmd set 77setvarcmd setvar 78shiftcmd shift 79testcmd test [ 80timescmd times 81trapcmd trap 82truecmd : true 83typecmd type 84ulimitcmd ulimit 85umaskcmd umask 86unaliascmd unalias 87unsetcmd unset 88waitcmd wait 89wordexpcmd wordexp 90