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-21 08:50:22 -05:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
376d460cff
opnsense-src
/
usr.bin
/
alias
/
generic.sh
5 lines
78 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.
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.
2002-07-16 18:16:05 -04:00
${
0
##*/
}
${
1
+
"
$@
"
}
Reference in a new issue
Copy permalink