xref: /csrg-svn/bin/sh/builtins.def (revision 69274)
147103Sbostic#!/bin/sh -
247103Sbostic#
360713Sbostic# Copyright (c) 1991, 1993
460713Sbostic#	The Regents of the University of California.  All rights reserved.
547103Sbostic#
647103Sbostic# This code is derived from software contributed to Berkeley by
747103Sbostic# Kenneth Almquist.
847103Sbostic#
947103Sbostic# %sccs.include.redist.sh%
1047103Sbostic#
11*69274Schristos#	@(#)builtins.def	8.4 (Berkeley) 05/04/95
1247103Sbostic
1347103Sbostic#
1447103Sbostic# This file lists all the builtin commands.  The first column is the name
1547103Sbostic# of a C routine.  The -j flag, if present, specifies that this command
16*69274Schristos# is to be excluded from systems without job control, and the -h flag,
17*69274Schristos# if present specifies that this command is to be excluded from systems
18*69274Schristos# based on the NO_HISTORY compile-time symbol.  The rest of the line
1947103Sbostic# specifies the command name or names used to run the command.  The entry
2054308Smarc# for bltincmd, which is run when the user does not specify a command, must
2147103Sbostic# come first.
2247103Sbostic#
2354308Smarc# NOTE: bltincmd must come first!
2447103Sbostic
2547103Sbosticbltincmd	command
2647103Sbostic#alloccmd	alloc
2747103Sbosticbgcmd -j	bg
2847103Sbosticbreakcmd	break continue
2947103Sbostic#catfcmd	catf
3047103Sbosticcdcmd		cd chdir
3147103Sbosticdotcmd		.
3247103Sbosticechocmd		echo
3347103Sbosticevalcmd		eval
3447103Sbosticexeccmd		exec
3547103Sbosticexitcmd		exit
3653297Smarcexpcmd		exp let
3747103Sbosticexportcmd	export readonly
3847103Sbostic#exprcmd	expr test [
3968916Sbosticfalsecmd	false
40*69274Schristoshistcmd -h	fc
4147103Sbosticfgcmd -j	fg
4247103Sbosticgetoptscmd	getopts
4347103Sbostichashcmd		hash
4447103Sbosticjobidcmd	jobid
4547103Sbosticjobscmd		jobs
4647103Sbostic#linecmd		line
4747103Sbosticlocalcmd	local
4847103Sbostic#nlechocmd	nlecho
49*69274Schristos#printfcmd	printf
5047103Sbosticpwdcmd		pwd
5147103Sbosticreadcmd		read
5247103Sbosticreturncmd	return
5347103Sbosticsetcmd		set
5447103Sbosticsetvarcmd	setvar
5547103Sbosticshiftcmd	shift
5647103Sbostictrapcmd		trap
5747103Sbostictruecmd		: true
5847103Sbosticumaskcmd	umask
5954308Smarcunaliascmd	unalias
6047103Sbosticunsetcmd	unset
6147103Sbosticwaitcmd		wait
6254308Smarc#foocmd		foo
6354308Smarcaliascmd	alias
64*69274Schristosulimitcmd	ulimit
65