Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
set var 'Hello World'
|
||||
if test $var = 'Hello World'
|
||||
echo 'Welcome.'
|
||||
else if test $var = 'Bye World'
|
||||
echo 'Bye.'
|
||||
else
|
||||
echo 'Huh?'
|
||||
end
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
switch actually
|
||||
case az
|
||||
echo The word is "az".
|
||||
case 'a*z'
|
||||
echo Begins with a and ends with z.
|
||||
case 'a*'
|
||||
echo Begins with a.
|
||||
case 'z*'
|
||||
echo Ends with z.
|
||||
case '*'
|
||||
echo Neither begins with a or ends with z.
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue