reintegrate NetBSD's false builtin

This commit is contained in:
jtc 1994-05-11 17:42:57 +00:00
parent 83b8a2f413
commit 542ace3bab
3 changed files with 7 additions and 0 deletions

View File

@ -64,6 +64,7 @@ exitcmd exit
expcmd exp let
exportcmd export readonly
#exprcmd expr test [
falsecmd false
histcmd fc
fgcmd -j fg
getoptscmd getopts

View File

@ -64,6 +64,7 @@ exitcmd exit
expcmd exp let
exportcmd export readonly
#exprcmd expr test [
falsecmd false
histcmd fc
fgcmd -j fg
getoptscmd getopts

View File

@ -916,6 +916,11 @@ returncmd(argc, argv) char **argv; {
}
falsecmd(argc, argv) char **argv; {
return 1;
}
truecmd(argc, argv) char **argv; {
return 0;
}