summaryrefslogtreecommitdiff
path: root/usr.bin/alias
AgeCommit message (Collapse)Author
2025-12-19usr.bin: Remove intrinsic utilitiesDag-Erling Smørgrav
These utilities can only function correctly if implemented as shell builtins and exist only because POSIX previously required them. As of POSIX 2024, they have all been reclassified as intrinsic utilities and are no longer required to exist in PATH. We can therefore retire them. Cf. XBD 1.7, XRAT C.1.8, Austin Group bug 854. Note that kill(1) is also considered an intrinsic utility (because only the shell can interpret job IDs correctly), but we have a working standalone implementation, which we will keep. PR: 291686 Relnotes: yes Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D54239
2024-07-15Remove residual blank line at start of MakefileWarner Losh
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
2023-08-16Remove $FreeBSD$: one-line sh patternWarner Losh
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2015-06-13Add META_MODE support.Simon J. Gerraty
Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
2015-06-11Remove NO_OBJSimon J. Gerraty
For meta mode we will want objdirs. Differential Revision: D2748 Reviewed by: brooks imp Notes: svn path=/head/; revision=284255
2015-06-08dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=284172
2013-10-13We do want objdirSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=256421
2013-10-13Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=256419
2010-04-25Make hash, type and ulimit available via execve().Jilles Tjoelker
These are specified by POSIX but are not special builtins, and therefore need to be available via execve() and utilities like time, nohup, xargs. (Note that hash was moved from the XSI option to the base in the 2008 standard.) Like most of the POSIX "regular builtin commands", these need to be executed in a shell environment for full functionality, although they may still be of some use outside one. Unlike the POSIX special and regular builtin commands, POSIX does not require these to be found before a PATH search, although that could be an oversight. Like some of the utilities already provided by usr.bin/alias, these may lead to confusing results when invoked from csh(1). Notes: svn path=/head/; revision=207196
2005-10-24Use the "builtin" shell function to make sure that the requestedColin Percival
command is handled as a shell function. This avoids the following peculiar behaviour when /usr/bin is on a case-insensitive filesystem: # READ foo (... long pause, depending upon the amount of swap space available ...) sh: Resource temporarily unavailable. Reported by: I can't remember; someone on IRC. MFC after: 1 week Notes: svn path=/head/; revision=151635
2004-12-21Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov
OK'ed by: core Notes: svn path=/head/; revision=139103
2003-04-01Mark bits that do not require an object directory as such.Ruslan Ermilov
Notes: svn path=/head/; revision=112940
2002-07-17Fix installworld.Ollivier Robert
Submitted by: Udo Schweigert <Udo.Schweigert@siemens.com> Notes: svn path=/head/; revision=100249
2002-07-16A little bit more thought has resulted in a generic script which canGarrett Wollman
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. Notes: svn path=/head/; revision=100200