This website requires JavaScript.
Explore
Help
Register
Sign In
upstream
/
opnsense-src
Watch
1
Star
0
Fork
You've already forked opnsense-src
0
mirror of
https://github.com/opnsense/src.git
synced
2026-02-14 16:23:25 -05:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
c66ca7723b
opnsense-src
/
usr.bin
/
alias
/
generic.sh
5 lines
86 B
Bash
Raw
Normal View
History
Unescape
Escape
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.
2002-07-16 17:13:11 -04:00
#!/bin/sh
# $FreeBSD$
# This file is in the public domain.
Use the "builtin" shell function to make sure that the requested 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
2005-10-24 18:32:19 -04:00
builtin
${
0
##*/
}
${
1
+
"
$@
"
}
Reference in a new issue
Copy permalink