From 8b7d6031e6e1457ba0eb1e4ac04ad72adcb7c2ee Mon Sep 17 00:00:00 2001 From: jilles Date: Fri, 30 Aug 2013 12:09:59 +0000 Subject: sh: Recognize "--" as end of options in type builtin. This implementation makes minimal changes: command names starting with "-" (other than "--") can still be queried normally. --- tools/regression/bin/sh/builtins/type3.0 | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tools/regression/bin/sh/builtins/type3.0 (limited to 'tools/regression') diff --git a/tools/regression/bin/sh/builtins/type3.0 b/tools/regression/bin/sh/builtins/type3.0 new file mode 100644 index 0000000..87cccdd --- /dev/null +++ b/tools/regression/bin/sh/builtins/type3.0 @@ -0,0 +1,3 @@ +# $FreeBSD$ + +[ "$(type type)" = "$(type -- type)" ] -- cgit v1.1