builtins.def revision 86505
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 86505 2001-11-17 19:10:11Z knu $
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
5215920Speterbltincmd	command
5315920Speter#alloccmd	alloc
5415920Speterbgcmd -j	bg
5515920Speterbreakcmd	break continue
5615920Speter#catfcmd	catf
5715920Spetercdcmd		cd chdir
5815920Speterdotcmd		.
5915920Speterechocmd		echo
6015920Speterevalcmd		eval
6115920Speterexeccmd		exec
6215920Speterexitcmd		exit
6315920Speterexpcmd		exp let
6415920Speterexportcmd	export readonly
6586505Sknu#exprcmd		expr
6615920Speterfalsecmd	false
6715920Speterhistcmd -h	fc
6815920Speterfgcmd -j	fg
6915920Spetergetoptscmd	getopts
7015920Speterhashcmd		hash
7115920Speterjobidcmd	jobid
7215920Speterjobscmd		jobs
7315920Speter#linecmd		line
7415920Speterlocalcmd	local
7515920Speter#nlechocmd	nlecho
7618614Speterprintfcmd	printf
7715920Speterpwdcmd		pwd
7815920Speterreadcmd		read
7915920Speterreturncmd	return
8015920Spetersetcmd		set
8115920Spetersetvarcmd	setvar
8215920Spetershiftcmd	shift
8315920Spetertrapcmd		trap
8415920Spetertruecmd		: true
8525235Sstevetypecmd		type
8615920Speterumaskcmd	umask
8715920Speterunaliascmd	unalias
8815920Speterunsetcmd	unset
8915920Speterwaitcmd		wait
9015920Speter#foocmd		foo
9115920Speteraliascmd	alias
9215920Speterulimitcmd	ulimit
9386505Sknutestcmd		test [
94