summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-misc/shift.tests
blob: 53ef249f29404c5dea4e8938c0650421c52f0d63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if test $# = 0; then
    exec "$THIS_SH" $0 abc "d e" 123
fi
echo $0 $1 $2
shift
echo $0 $1 $2
shift 999
echo $0 $1 $2
shift 2
echo $0 $1 $2
shift 2
echo $0 $1 $2
shift
echo $0 $1 $2