freebsd-nq/usr.bin/alias/generic.sh
Colin Percival 923e7a09b0 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 22:32:19 +00:00

5 lines
86 B
Bash

#!/bin/sh
# $FreeBSD$
# This file is in the public domain.
builtin ${0##*/} ${1+"$@"}