+ no need for comments.
This commit is contained in:
parent
26702fe191
commit
6e703034f4
1
lash.c
1
lash.c
@ -113,7 +113,6 @@ static int busy_loop(FILE * input);
|
|||||||
static struct builtInCommand bltins[] = {
|
static struct builtInCommand bltins[] = {
|
||||||
{"bg", "Resume a job in the background", "bg [%%job]", shell_fg_bg},
|
{"bg", "Resume a job in the background", "bg [%%job]", shell_fg_bg},
|
||||||
{"cd", "Change working directory", "cd [dir]", shell_cd},
|
{"cd", "Change working directory", "cd [dir]", shell_cd},
|
||||||
//{"echo", "Echo arguments on stdout", "echo arg1 [...]", shell_echo},
|
|
||||||
{"env", "Print all environment variables", "env", shell_env},
|
{"env", "Print all environment variables", "env", shell_env},
|
||||||
{"exit", "Exit from shell()", "exit", shell_exit},
|
{"exit", "Exit from shell()", "exit", shell_exit},
|
||||||
{"fg", "Bring job into the foreground", "fg [%%job]", shell_fg_bg},
|
{"fg", "Bring job into the foreground", "fg [%%job]", shell_fg_bg},
|
||||||
|
1
sh.c
1
sh.c
@ -113,7 +113,6 @@ static int busy_loop(FILE * input);
|
|||||||
static struct builtInCommand bltins[] = {
|
static struct builtInCommand bltins[] = {
|
||||||
{"bg", "Resume a job in the background", "bg [%%job]", shell_fg_bg},
|
{"bg", "Resume a job in the background", "bg [%%job]", shell_fg_bg},
|
||||||
{"cd", "Change working directory", "cd [dir]", shell_cd},
|
{"cd", "Change working directory", "cd [dir]", shell_cd},
|
||||||
//{"echo", "Echo arguments on stdout", "echo arg1 [...]", shell_echo},
|
|
||||||
{"env", "Print all environment variables", "env", shell_env},
|
{"env", "Print all environment variables", "env", shell_env},
|
||||||
{"exit", "Exit from shell()", "exit", shell_exit},
|
{"exit", "Exit from shell()", "exit", shell_exit},
|
||||||
{"fg", "Bring job into the foreground", "fg [%%job]", shell_fg_bg},
|
{"fg", "Bring job into the foreground", "fg [%%job]", shell_fg_bg},
|
||||||
|
@ -113,7 +113,6 @@ static int busy_loop(FILE * input);
|
|||||||
static struct builtInCommand bltins[] = {
|
static struct builtInCommand bltins[] = {
|
||||||
{"bg", "Resume a job in the background", "bg [%%job]", shell_fg_bg},
|
{"bg", "Resume a job in the background", "bg [%%job]", shell_fg_bg},
|
||||||
{"cd", "Change working directory", "cd [dir]", shell_cd},
|
{"cd", "Change working directory", "cd [dir]", shell_cd},
|
||||||
//{"echo", "Echo arguments on stdout", "echo arg1 [...]", shell_echo},
|
|
||||||
{"env", "Print all environment variables", "env", shell_env},
|
{"env", "Print all environment variables", "env", shell_env},
|
||||||
{"exit", "Exit from shell()", "exit", shell_exit},
|
{"exit", "Exit from shell()", "exit", shell_exit},
|
||||||
{"fg", "Bring job into the foreground", "fg [%%job]", shell_fg_bg},
|
{"fg", "Bring job into the foreground", "fg [%%job]", shell_fg_bg},
|
||||||
|
Loading…
Reference in New Issue
Block a user