rush/test/simple.rush
2021-12-04 19:50:15 +01:00

39 lines
No EOL
418 B
Text

echo test
echo single; echo line
echo test > cat
grep echo < simple.rush
let test = val
echo var $test
let test = $test
echo var2 ${test}
echo last exit code $?
if true
echo condition true
end
if false
echo condition false
end
if true
echo condition true
else
echo else
end
if false
echo condition false
else if true
echo condition else true
end
while true
echo loop
break
end