summaryrefslogtreecommitdiff
path: root/type.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@x1-nano.kaivo.local>2023-04-01 22:16:47 -0400
committerJakob Kaivo <jkk@x1-nano.kaivo.local>2023-04-01 22:16:47 -0400
commit73611cd92215d478a549a6c869450376efc26393 (patch)
tree897ea0137b8befe9333cc8c8285ae58b4392c6ab /type.c
parentd8baf576057910f7773ca9bccc59e024279ccea9 (diff)
add the list of allowable built-ins with unspecified behavior
Diffstat (limited to 'type.c')
-rw-r--r--type.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/type.c b/type.c
index 4be22c1..2bfc1f8 100644
--- a/type.c
+++ b/type.c
@@ -25,6 +25,10 @@ int type_main(int argc, char **argv)
continue;
}
+ if (sh_is_unspecified(argv[i])) {
+ printf("%s: allowable POSIX extension (not implemented)\n", argv[i]);
+ }
+
/*
if (sh_is_function(argv[i])) {
printf("%s: function\n", argv[i]);