summaryrefslogtreecommitdiffstats
path: root/test/bashisms/other-vars.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/bashisms/other-vars.sh')
-rw-r--r--test/bashisms/other-vars.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/bashisms/other-vars.sh b/test/bashisms/other-vars.sh
new file mode 100644
index 0000000..46dbedc
--- /dev/null
+++ b/test/bashisms/other-vars.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+test() {
+ echo $FUNCNAME BASHISM
+}
+
+test
+
+echo $DIRSTACK BASHISM
+echo $SECONDS BASHISM
+echo $TMOUT BASHISM
+echo $TIMEFORMAT BASHISM
+TMOUT=2 # BASHISM
+read REPLY
+TIMEFORMAT='' # BASHISM