Welcome to mirror list, hosted at ThFree Co, Russian Federation.

readonly0.right « hush-vars « hush_test « shell - git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7599698d2c1ba2361192fe314949ad1859ffe660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
readonly a='A'
readonly b='B'
Ok:0

hush: a=A: readonly variable
Fail:1
hush: a=A: readonly variable
Fail:1

hush: a=Z: readonly variable
Fail:1

hush: a=Z: readonly variable
b=B
^^^a is not exported
hush: a=Z: readonly variable
Visible:42

hush: a: readonly variable
Fail:1