builtins.def revision 139969
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 139969 2005-01-10 08:39:26Z imp $
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
50100437Stjrcommandcmd	command
5115920Speter#alloccmd	alloc
5215920Speterbgcmd -j	bg
5315920Speterbreakcmd	break continue
5415920Speter#catfcmd	catf
5515920Spetercdcmd		cd chdir
5615920Speterdotcmd		.
5715920Speterechocmd		echo
5815920Speterevalcmd		eval
5915920Speterexeccmd		exec
6015920Speterexitcmd		exit
6115920Speterexpcmd		exp let
6215920Speterexportcmd	export readonly
6386505Sknu#exprcmd		expr
6415920Speterfalsecmd	false
6515920Speterhistcmd -h	fc
6615920Speterfgcmd -j	fg
6715920Spetergetoptscmd	getopts
6815920Speterhashcmd		hash
6915920Speterjobidcmd	jobid
7015920Speterjobscmd		jobs
7115920Speter#linecmd		line
7215920Speterlocalcmd	local
7315920Speter#nlechocmd	nlecho
7486692Sknu#printfcmd	printf
7515920Speterpwdcmd		pwd
7615920Speterreadcmd		read
7715920Speterreturncmd	return
7815920Spetersetcmd		set
7915920Spetersetvarcmd	setvar
8015920Spetershiftcmd	shift
8115920Spetertrapcmd		trap
8215920Spetertruecmd		: true
8325235Sstevetypecmd		type
8415920Speterumaskcmd	umask
8515920Speterunaliascmd	unalias
8615920Speterunsetcmd	unset
8715920Speterwaitcmd		wait
8815920Speter#foocmd		foo
8915920Speteraliascmd	alias
9015920Speterulimitcmd	ulimit
9186505Sknutestcmd		test [
92100565Stjrbindcmd		bind
93108286Stjrwordexpcmd	wordexp
94