summaryrefslogtreecommitdiffstats
path: root/test/bashisms/other-vars.sh
blob: 46dbedcc3d86e2f45d38ccef0f6c1230175799ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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