builtins.def revision 215520
1215334Sdougb#!/bin/sh -
21553Srgrimes
31553Srgrimes#-
41553Srgrimes# Copyright (c) 1991, 1993
51553Srgrimes#	The Regents of the University of California.  All rights reserved.
61553Srgrimes#
71553Srgrimes# This code is derived from software contributed to Berkeley by
81553Srgrimes# Kenneth Almquist.
91553Srgrimes#
101553Srgrimes# Redistribution and use in source and binary forms, with or without
111553Srgrimes# modification, are permitted provided that the following conditions
121553Srgrimes# are met:
131553Srgrimes# 1. Redistributions of source code must retain the above copyright
141553Srgrimes#    notice, this list of conditions and the following disclaimer.
151553Srgrimes# 2. Redistributions in binary form must reproduce the above copyright
161553Srgrimes#    notice, this list of conditions and the following disclaimer in the
171553Srgrimes#    documentation and/or other materials provided with the distribution.
181553Srgrimes# 4. Neither the name of the University nor the names of its contributors
191553Srgrimes#    may be used to endorse or promote products derived from this software
201553Srgrimes#    without specific prior written permission.
211553Srgrimes#
221553Srgrimes# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
231553Srgrimes# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
241553Srgrimes# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
251553Srgrimes# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
261553Srgrimes# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
271553Srgrimes# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
281553Srgrimes# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
291553Srgrimes# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
301553Srgrimes# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
311553Srgrimes# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
321553Srgrimes# SUCH DAMAGE.
331553Srgrimes#
341553Srgrimes#	@(#)builtins.def	8.4 (Berkeley) 5/4/95
351553Srgrimes# $FreeBSD: head/bin/sh/builtins.def 215520 2010-11-19 12:56:13Z jilles $
361553Srgrimes
371553Srgrimes#
381553Srgrimes# This file lists all the builtin commands.  The first column is the name
391553Srgrimes# of a C routine.
401553Srgrimes# The -j flag specifies that this command is to be excluded from systems
411553Srgrimes# without job control.
421553Srgrimes# The -h flag specifies that this command is to be excluded from systems
431553Srgrimes# based on the NO_HISTORY compile-time symbol.
441553Srgrimes# The -s flag specifies that this is a POSIX 'special built-in' command.
451553Srgrimes# The rest of the line specifies the command name or names used to run the
461553Srgrimes# command.  The entry for bltincmd, which is run when the user does not specify
471553Srgrimes# a command, must come first.
481553Srgrimes#
491553Srgrimes# NOTE: bltincmd must come first!
501553Srgrimes
511553Srgrimesbltincmd	builtin
521553Srgrimesaliascmd	alias
531553Srgrimesbgcmd -j	bg
541553Srgrimesbindcmd		bind
551553Srgrimesbreakcmd	-s break -s continue
561553Srgrimescdcmd		cd chdir
571553Srgrimescommandcmd	command
581553Srgrimesdotcmd		-s .
591553Srgrimesechocmd		echo
601553Srgrimesevalcmd		-s eval
611553Srgrimesexeccmd		-s exec
621553Srgrimesexitcmd		-s exit
631553Srgrimesexpcmd		exp let
641553Srgrimesexportcmd	-s export -s readonly
651553Srgrimes#exprcmd		expr
661553Srgrimesfalsecmd	false
671553Srgrimesfgcmd -j	fg
681553Srgrimesgetoptscmd	getopts
691553Srgrimeshashcmd		hash
701553Srgrimeshistcmd -h	fc
711553Srgrimesjobidcmd	jobid
721553Srgrimesjobscmd		jobs
731553Srgrimeslocalcmd	local
741553Srgrimesprintfcmd	printf
751553Srgrimespwdcmd		pwd
761553Srgrimesreadcmd		read
771553Srgrimesreturncmd	-s return
781553Srgrimessetcmd		-s set
791553Srgrimessetvarcmd	setvar
801553Srgrimesshiftcmd	-s shift
811553Srgrimestestcmd		test [
821553Srgrimestimescmd	-s times
831553Srgrimestrapcmd		-s trap
841553Srgrimestruecmd		-s : true
851553Srgrimestypecmd		type
861553Srgrimesulimitcmd	ulimit
871553Srgrimesumaskcmd	umask
881553Srgrimesunaliascmd	unalias
891553Srgrimesunsetcmd	-s unset
901553Srgrimeswaitcmd		wait
911553Srgrimeswordexpcmd	wordexp
921553Srgrimes