builtins.def revision 153094
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: head/bin/sh/builtins.def 153094 2005-12-04 20:01:48Z stefanf $
3615920Speter
3715920Speter#
3815920Speter# This file lists all the builtin commands.  The first column is the name
3915920Speter# of a C routine.  The -j flag, if present, specifies that this command
4015920Speter# is to be excluded from systems without job control, and the -h flag,
4115920Speter# if present specifies that this command is to be excluded from systems
4215920Speter# based on the NO_HISTORY compile-time symbol.  The rest of the line
4315920Speter# specifies the command name or names used to run the command.  The entry
4415920Speter# for bltincmd, which is run when the user does not specify a command, must
4515920Speter# come first.
4615920Speter#
4715920Speter# NOTE: bltincmd must come first!
4815920Speter
49100437Stjrbltincmd	builtin
50153094Sstefanfaliascmd	alias
5115920Speterbgcmd -j	bg
52153094Sstefanfbindcmd		bind
5315920Speterbreakcmd	break continue
5415920Spetercdcmd		cd chdir
55153094Sstefanfcommandcmd	command
5615920Speterdotcmd		.
5715920Speterechocmd		echo
5815920Speterevalcmd		eval
5915920Speterexeccmd		exec
6015920Speterexitcmd		exit
6115920Speterexpcmd		exp let
6215920Speterexportcmd	export readonly
6386505Sknu#exprcmd		expr
6415920Speterfalsecmd	false
6515920Speterfgcmd -j	fg
6615920Spetergetoptscmd	getopts
6715920Speterhashcmd		hash
68153094Sstefanfhistcmd -h	fc
6915920Speterjobidcmd	jobid
7015920Speterjobscmd		jobs
7115920Speterlocalcmd	local
7286692Sknu#printfcmd	printf
7315920Speterpwdcmd		pwd
7415920Speterreadcmd		read
7515920Speterreturncmd	return
7615920Spetersetcmd		set
7715920Spetersetvarcmd	setvar
7815920Spetershiftcmd	shift
79153094Sstefanftestcmd		test [
80153091Sstefanftimescmd	times
8115920Spetertrapcmd		trap
8215920Spetertruecmd		: true
8325235Sstevetypecmd		type
84153094Sstefanfulimitcmd	ulimit
8515920Speterumaskcmd	umask
8615920Speterunaliascmd	unalias
8715920Speterunsetcmd	unset
8815920Speterwaitcmd		wait
89108286Stjrwordexpcmd	wordexp
90