summaryrefslogtreecommitdiffstats
path: root/sh/builtins.c
blob: 344dbd6229e1ba072edf6a24f3fff501e9eb0f93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
 * This file was generated by the mkbuiltins program.
 */

#include "shell.h"
#include "builtins.h"

const struct builtincmd builtincmd[] = {

	{ "command",	bltincmd },
	{ "bg",	bgcmd },
	{ "cd",	cdcmd },
	{ "chdir",	cdcmd },
	{ "echo",	echocmd },
	{ "exp",	expcmd },
	{ "let",	expcmd },
	{ "false",	falsecmd },
#if WITH_HISTORY
	{ "fc",	histcmd },
	{ "inputrc",	inputrc },
#endif
	{ "fg",	fgcmd },
	{ "getopts",	getoptscmd },
	{ "hash",	hashcmd },
	{ "jobid",	jobidcmd },
	{ "jobs",	jobscmd },
	{ "local",	localcmd },
#ifndef SMALL
#endif
	{ "pwd",	pwdcmd },
	{ "read",	readcmd },
	{ "setvar",	setvarcmd },
	{ "true",	truecmd },
	{ "type",	typecmd },
	{ "umask",	umaskcmd },
	{ "unalias",	unaliascmd },
	{ "wait",	waitcmd },
	{ "alias",	aliascmd },
	{ "ulimit",	ulimitcmd },
	{ "wordexp",	wordexpcmd },
	{ 0, 0 },
};

const struct builtincmd splbltincmd[] = {
	{ "break",	breakcmd },
	{ "continue",	breakcmd },
	{ ".",	dotcmd },
	{ "eval",	evalcmd },
	{ "exec",	execcmd },
	{ "exit",	exitcmd },
	{ "export",	exportcmd },
	{ "readonly",	exportcmd },
	{ "return",	returncmd },
	{ "set",	setcmd },
	{ "shift",	shiftcmd },
	{ "times",	timescmd },
	{ "trap",	trapcmd },
	{ ":",	truecmd },
	{ "unset",	unsetcmd },
	{ 0, 0 },
};