builtins.def revision 100437
115920Speter#!/bin/sh - 215920Speter# 315920Speter# Copyright (c) 1991, 1993 415920Speter# The Regents of the University of California. All rights reserved. 515920Speter# 615920Speter# This code is derived from software contributed to Berkeley by 715920Speter# Kenneth Almquist. 815920Speter# 915920Speter# Redistribution and use in source and binary forms, with or without 1015920Speter# modification, are permitted provided that the following conditions 1115920Speter# are met: 1215920Speter# 1. Redistributions of source code must retain the above copyright 1315920Speter# notice, this list of conditions and the following disclaimer. 1415920Speter# 2. Redistributions in binary form must reproduce the above copyright 1515920Speter# notice, this list of conditions and the following disclaimer in the 1615920Speter# documentation and/or other materials provided with the distribution. 1715920Speter# 3. All advertising materials mentioning features or use of this software 1815920Speter# must display the following acknowledgement: 1915920Speter# This product includes software developed by the University of 2015920Speter# California, Berkeley and its contributors. 2115920Speter# 4. Neither the name of the University nor the names of its contributors 2215920Speter# may be used to endorse or promote products derived from this software 2315920Speter# without specific prior written permission. 2415920Speter# 2515920Speter# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2615920Speter# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2715920Speter# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2815920Speter# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2915920Speter# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 3015920Speter# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 3115920Speter# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3215920Speter# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3315920Speter# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3415920Speter# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3515920Speter# SUCH DAMAGE. 3615920Speter# 3715920Speter# @(#)builtins.def 8.4 (Berkeley) 5/4/95 3850471Speter# $FreeBSD: head/bin/sh/builtins.def 100437 2002-07-21 06:49:14Z tjr $ 3915920Speter 4015920Speter# 4115920Speter# This file lists all the builtin commands. The first column is the name 4215920Speter# of a C routine. The -j flag, if present, specifies that this command 4315920Speter# is to be excluded from systems without job control, and the -h flag, 4415920Speter# if present specifies that this command is to be excluded from systems 4515920Speter# based on the NO_HISTORY compile-time symbol. The rest of the line 4615920Speter# specifies the command name or names used to run the command. The entry 4715920Speter# for bltincmd, which is run when the user does not specify a command, must 4815920Speter# come first. 4915920Speter# 5015920Speter# NOTE: bltincmd must come first! 5115920Speter 52100437Stjrbltincmd builtin 53100437Stjrcommandcmd command 5415920Speter#alloccmd alloc 5515920Speterbgcmd -j bg 5615920Speterbreakcmd break continue 5715920Speter#catfcmd catf 5815920Spetercdcmd cd chdir 5915920Speterdotcmd . 6015920Speterechocmd echo 6115920Speterevalcmd eval 6215920Speterexeccmd exec 6315920Speterexitcmd exit 6415920Speterexpcmd exp let 6515920Speterexportcmd export readonly 6686505Sknu#exprcmd expr 6715920Speterfalsecmd false 6815920Speterhistcmd -h fc 6915920Speterfgcmd -j fg 7015920Spetergetoptscmd getopts 7115920Speterhashcmd hash 7215920Speterjobidcmd jobid 7315920Speterjobscmd jobs 7415920Speter#linecmd line 7515920Speterlocalcmd local 7615920Speter#nlechocmd nlecho 7786692Sknu#printfcmd printf 7815920Speterpwdcmd pwd 7915920Speterreadcmd read 8015920Speterreturncmd return 8115920Spetersetcmd set 8215920Spetersetvarcmd setvar 8315920Spetershiftcmd shift 8415920Spetertrapcmd trap 8515920Spetertruecmd : true 8625235Sstevetypecmd type 8715920Speterumaskcmd umask 8815920Speterunaliascmd unalias 8915920Speterunsetcmd unset 9015920Speterwaitcmd wait 9115920Speter#foocmd foo 9215920Speteraliascmd alias 9315920Speterulimitcmd ulimit 9486505Sknutestcmd test [ 95