POSIX requires these shell builtins to also exist as totally pointless
external commands. Since they serve no useful purpose, it's OK that their implementation is not the most efficient possible.
This commit is contained in:
parent
020d4fa6de
commit
b107f944ad
@ -20,6 +20,7 @@ SUBDIR= apply \
|
||||
calendar \
|
||||
cap_mkdb \
|
||||
catman \
|
||||
cd \
|
||||
chat \
|
||||
checknr \
|
||||
chflags \
|
||||
@ -32,6 +33,7 @@ SUBDIR= apply \
|
||||
colrm \
|
||||
column \
|
||||
comm \
|
||||
command \
|
||||
compile_et \
|
||||
compress \
|
||||
csplit \
|
||||
|
6
usr.bin/cd/Makefile
Normal file
6
usr.bin/cd/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SCRIPTS=cd.sh
|
||||
NOMAN=
|
||||
|
||||
.include <bsd.prog.mk>
|
4
usr.bin/cd/cd.sh
Normal file
4
usr.bin/cd/cd.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# This file is in the public domain.
|
||||
cd ${1+"$@"}
|
6
usr.bin/command/Makefile
Normal file
6
usr.bin/command/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SCRIPTS=cd.sh
|
||||
NOMAN=
|
||||
|
||||
.include <bsd.prog.mk>
|
4
usr.bin/command/command.sh
Normal file
4
usr.bin/command/command.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# This file is in the public domain.
|
||||
command ${1+"$@"}
|
Loading…
x
Reference in New Issue
Block a user