busybox/shell/ash_test/ash-misc/shift1.right
Denys Vlasenko 64aa86b720 ash: LINENO starts from 0 in -c SCRIPT mode
The var_LINENO3.tests fails for hush: it does start from 0, but does not increment.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2021-09-07 18:16:45 +02:00

10 lines
80 B
Plaintext

2 3 4
0: shift: line 0: Illegal number: -1
1 2 3 4
2 3 4
3 4
4
1 2 3 4
1 2 3 4