summaryrefslogtreecommitdiffstats
path: root/getopt-1.1.0a/test.tcsh
diff options
context:
space:
mode:
Diffstat (limited to 'getopt-1.1.0a/test.tcsh')
-rw-r--r--getopt-1.1.0a/test.tcsh7
1 files changed, 7 insertions, 0 deletions
diff --git a/getopt-1.1.0a/test.tcsh b/getopt-1.1.0a/test.tcsh
new file mode 100644
index 000000000..d661e767d
--- /dev/null
+++ b/getopt-1.1.0a/test.tcsh
@@ -0,0 +1,7 @@
+#!/bin/tcsh
+getopt -T >&/dev/null
+if ( $status == 4) then
+ echo "Enhanced getopt(1)"
+else
+ echo "Old getopt(1)"
+endif