mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-27 08:00:11 +00:00
A little bit more thought has resulted in a generic script which can
implement any of the useless POSIX-required ``regular shell builtin'' utilities, saving one frag and one inode each. The script moves to usr.bin/alias which is alphabetically the first of these commands.
This commit is contained in:
parent
43bf47e4d8
commit
5cd19a3cfd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100200
@ -7,7 +7,8 @@
|
||||
# XXX Use GNU versions: apropos bc dc diff grep ld man patch whatis
|
||||
# Moved to secure: bdes
|
||||
#
|
||||
SUBDIR= apply \
|
||||
SUBDIR= alias \
|
||||
apply \
|
||||
asa \
|
||||
at \
|
||||
awk \
|
||||
@ -20,7 +21,6 @@ SUBDIR= apply \
|
||||
calendar \
|
||||
cap_mkdb \
|
||||
catman \
|
||||
cd \
|
||||
chat \
|
||||
checknr \
|
||||
chflags \
|
||||
@ -33,7 +33,6 @@ SUBDIR= apply \
|
||||
colrm \
|
||||
column \
|
||||
comm \
|
||||
command \
|
||||
compile_et \
|
||||
compress \
|
||||
csplit \
|
||||
|
19
usr.bin/alias/Makefile
Normal file
19
usr.bin/alias/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SCRIPTS=generic.sh
|
||||
SCRIPTSNAME=cd
|
||||
NOMAN=
|
||||
|
||||
LINKS= ${BINDIR}/alias ${BINDIR}/bg \
|
||||
${BINDIR}/alias ${BINDIR}/cd \
|
||||
${BINDIR}/alias ${BINDIR}/command \
|
||||
${BINDIR}/alias ${BINDIR}/fc \
|
||||
${BINDIR}/alias ${BINDIR}/fg \
|
||||
${BINDIR}/alias ${BINDIR}/getopts \
|
||||
${BINDIR}/alias ${BINDIR}/jobs \
|
||||
${BINDIR}/alias ${BINDIR}/read \
|
||||
${BINDIR}/alias ${BINDIR}/umask \
|
||||
${BINDIR}/alias ${BINDIR}/unalias \
|
||||
${BINDIR}/alias ${BINDIR}/wait
|
||||
|
||||
.include <bsd.prog.mk>
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# This file is in the public domain.
|
||||
cd ${1+"$@"}
|
||||
${0##*/} ${1+"$@"}
|
@ -1,6 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SCRIPTS=cd.sh
|
||||
NOMAN=
|
||||
|
||||
.include <bsd.prog.mk>
|
@ -1,6 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SCRIPTS=command.sh
|
||||
NOMAN=
|
||||
|
||||
.include <bsd.prog.mk>
|
@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# This file is in the public domain.
|
||||
command ${1+"$@"}
|
Loading…
Reference in New Issue
Block a user