add sh lessons
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
cat menu.typ lua.typ go.typ > programming.typ
|
||||
cat menu.typ lua.typ go.typ sh.typ > programming.typ
|
||||
|
||||
1
menu.typ
1
menu.typ
@@ -7,4 +7,5 @@ B:Programming Lessons
|
||||
M: "Programming Lessons"
|
||||
:LUA_MENU "Lua Language"
|
||||
:GO_MENU "Go Language"
|
||||
:SH_MENU "sh Language"
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ B:Programming Lessons
|
||||
M: "Programming Lessons"
|
||||
:LUA_MENU "Lua Language"
|
||||
:GO_MENU "Go Language"
|
||||
:SH_MENU "sh Language"
|
||||
|
||||
#
|
||||
# Lua Lessons for GNU Typist
|
||||
@@ -191,3 +192,42 @@ Q:Repeat this lesson [Y/N] ?
|
||||
N:GO_MENU
|
||||
G:GO_PI_FUNCTIONS
|
||||
|
||||
#
|
||||
# sh Lessons for GNU Typist
|
||||
#
|
||||
|
||||
*:SH_MENU
|
||||
B:sh Lessons
|
||||
M: "sh Lessons"
|
||||
:SH_RESERVED_WORDS "sh Reserved Words"
|
||||
|
||||
#
|
||||
# sh Reserved Words
|
||||
#
|
||||
|
||||
*:SH_RESERVED_WORDS
|
||||
B:sh Reserved Words
|
||||
T: sh Reserved Words
|
||||
:
|
||||
:1: ! case do done elif
|
||||
:2: else esac fi for if
|
||||
:3: in then until while
|
||||
:
|
||||
: 14 words
|
||||
|
||||
I:sh Reserved Words 1
|
||||
D:! ! ! ! case case case case do do do do
|
||||
:done done done done elif elif elif elif
|
||||
|
||||
I:sh Reserved Words 2
|
||||
D:else else else else esac esac esac esac fi fi fi fi
|
||||
:for for for for if if if if
|
||||
|
||||
I:sh Reserved Words 3
|
||||
D:in in in in then then then then
|
||||
:until until until until while while while while
|
||||
|
||||
Q:Repeat this lesson [Y/N] ?
|
||||
N:SH_MENU
|
||||
G:SH_RESERVED_WORDS
|
||||
|
||||
|
||||
39
sh.typ
Normal file
39
sh.typ
Normal file
@@ -0,0 +1,39 @@
|
||||
#
|
||||
# sh Lessons for GNU Typist
|
||||
#
|
||||
|
||||
*:SH_MENU
|
||||
B:sh Lessons
|
||||
M: "sh Lessons"
|
||||
:SH_RESERVED_WORDS "sh Reserved Words"
|
||||
|
||||
#
|
||||
# sh Reserved Words
|
||||
#
|
||||
|
||||
*:SH_RESERVED_WORDS
|
||||
B:sh Reserved Words
|
||||
T: sh Reserved Words
|
||||
:
|
||||
:1: ! case do done elif
|
||||
:2: else esac fi for if
|
||||
:3: in then until while
|
||||
:
|
||||
: 14 words
|
||||
|
||||
I:sh Reserved Words 1
|
||||
D:! ! ! ! case case case case do do do do
|
||||
:done done done done elif elif elif elif
|
||||
|
||||
I:sh Reserved Words 2
|
||||
D:else else else else esac esac esac esac fi fi fi fi
|
||||
:for for for for if if if if
|
||||
|
||||
I:sh Reserved Words 3
|
||||
D:in in in in then then then then
|
||||
:until until until until while while while while
|
||||
|
||||
Q:Repeat this lesson [Y/N] ?
|
||||
N:SH_MENU
|
||||
G:SH_RESERVED_WORDS
|
||||
|
||||
Reference in New Issue
Block a user