forked from x/ContextOS
38 lines
462 B
Plaintext
38 lines
462 B
Plaintext
~shell1
|
|
alias import nfs
|
|
source etc/local.shy
|
|
return
|
|
|
|
var msg <- $(demo)
|
|
for index $msg append temp
|
|
for index $msg $temp h
|
|
echo $temp $h
|
|
end
|
|
end
|
|
|
|
for index $msg hi temp
|
|
echo $temp
|
|
end
|
|
|
|
var b = 1
|
|
for b += 1; $b < 3
|
|
echo $msg
|
|
end
|
|
|
|
return
|
|
|
|
return "hello" "world"
|
|
source etc/demo.shy
|
|
~file1
|
|
history load hi.cmd
|
|
scan_file etc/demo.shy
|
|
echo "who"
|
|
~web
|
|
command add get "https://chat.shylinux.com"
|
|
|
|
~aaa
|
|
login root root
|
|
|
|
~yac
|
|
scan_file etc/demo.shy demo_file
|