aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/alias/generic.sh
Commit message (Collapse)AuthorAgeFilesLines
* usr.bin: Remove intrinsic utilitiesDag-Erling Smørgrav2025-12-191-3/+0
| | | | | | | | | | | | | | | | | 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
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Use the "builtin" shell function to make sure that the requestedColin Percival2005-10-241-1/+1
| | | | | | | | | | | | | | 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
* A little bit more thought has resulted in a generic script which canGarrett Wollman2002-07-161-0/+4
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