test_str="hello world" readonly ro_str="test" test_one(){ echo "test_str in test_one is $test_str" test_str="happy" test_name="anony" unset test_set # 撤销变量test_set,之后引用该变量就会为空 echo "test_set in test_one is $test_set" ro_str="tset" # 该变量被readonly修饰,不能修改其变量值,将会出现语法错误,直接退出函数,不执行下列命令 echo "ro_str# yasuo0.2
-
Notifications
You must be signed in to change notification settings - Fork 1
License
Zforn/yasuo0.2
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published