summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2013-08-25 11:42:53 +0000
committerjilles <jilles@FreeBSD.org>2013-08-25 11:42:53 +0000
commit59cd1d2d278ce3afe7e2f3c1e7dd87f1e8e7a3fe (patch)
tree60e18123a1f3dda8b1ad4f3669d8d9f1079b7819 /tools
parent768857b2f8f1c01fc5031d4f049eeb1576c12290 (diff)
downloadFreeBSD-src-59cd1d2d278ce3afe7e2f3c1e7dd87f1e8e7a3fe.zip
FreeBSD-src-59cd1d2d278ce3afe7e2f3c1e7dd87f1e8e7a3fe.tar.gz
sh: Recognize "--" as end of options in alias builtin.
Aliases starting with "-" (which are non-POSIX) will need to be preceded by an alias not starting with "-" or the newly added "--".
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/bin/sh/builtins/alias4.04
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/builtins/alias4.0 b/tools/regression/bin/sh/builtins/alias4.0
new file mode 100644
index 0000000..3d5efec
--- /dev/null
+++ b/tools/regression/bin/sh/builtins/alias4.0
@@ -0,0 +1,4 @@
+# $FreeBSD$
+
+unalias -a
+alias --
OpenPOWER on IntegriCloud