forked from x/ContextOS
37 lines
381 B
Plaintext
37 lines
381 B
Plaintext
|
|
if 1 + 2
|
|
echo "hello"
|
|
end
|
|
|
|
if 1 + 2
|
|
echo "hello"
|
|
else
|
|
echo "world"
|
|
end
|
|
|
|
if 0
|
|
echo "hello"
|
|
end
|
|
|
|
if 0
|
|
echo "hello"
|
|
else
|
|
echo "word"
|
|
end
|
|
|
|
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"
|
|
source etc/local.shy
|
|
|
|
~aaa
|
|
login root root
|
|
|
|
~yac
|
|
scan_file etc/demo.shy demo_file
|