mk_semi_lattice 0.4.2 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/abbrev_checker/abbrev_check.rb +15 -2
- data/lib/abbrev_checker/abbrev_sample.tgz +0 -0
- data/lib/abbrev_checker/abbrev_yamls/.semi_lattice/icons/document.png +0 -0
- data/lib/abbrev_checker/abbrev_yamls/.semi_lattice/icons/folder.png +0 -0
- data/lib/abbrev_checker/abbrev_yamls/.semi_lattice/semi_lattice.yaml +304 -0
- data/lib/abbrev_checker/abbrev_yamls/command_tree.yaml +29 -18
- data/lib/abbrev_checker/abbrev_yamls/command_tree_node_edge.yaml +174 -0
- data/lib/abbrev_checker/docs/abbrev_checker/abbrev_checker.003.png +0 -0
- data/lib/abbrev_checker/docs/abbrev_checker/abbrev_checker.004.png +0 -0
- data/lib/abbrev_checker/docs/abbrev_checker.key +0 -0
- data/lib/abbrev_checker/docs/readme.org +13 -1
- data/lib/docs/short_intro/short_intro.001.png +0 -0
- data/lib/docs/short_intro/short_intro.002.png +0 -0
- data/lib/docs/short_intro/short_intro.003.png +0 -0
- data/lib/docs/short_intro/short_intro.004.png +0 -0
- data/lib/docs/short_intro.html +125 -0
- data/lib/docs/short_intro.key +0 -0
- data/lib/docs/short_intro.org +24 -0
- data/lib/hc.rb +17 -2
- data/lib/mk_semi_lattice/version.rb +1 -1
- data/lib/plot/plot.rb +166 -0
- data/lib/voca_buil/Rakefile_mk_sample_tgz.rake +162 -0
- data/lib/voca_buil/docs/readme.html +87 -36
- data/lib/voca_buil/docs/readme.org +13 -2
- data/lib/voca_buil/docs/voca_buil/voca_buil.001.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.002.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.003.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.004.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.005.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.006.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.007.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.008.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.009.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.010.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.011.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.012.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.013.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.014.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.015.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.016.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.017.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.018.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.019.png +0 -0
- data/lib/voca_buil/docs/voca_buil/voca_buil.020.png +0 -0
- data/lib/voca_buil/docs/voca_buil.key +0 -0
- data/lib/voca_buil/etymological_builder_check_sample.tgz +0 -0
- data/lib/voca_buil/multi_check.rb +53 -27
- data/readme.html +28 -36
- data/{README.org → readme.org} +3 -7
- metadata +60 -7
- data/.DS_Store +0 -0
- data/lib/abbrev_checker/check_log.yaml +0 -13
- data/lib/abbrev_checker/word_log.yaml +0 -18
- data/lib/voca_buil/docs/voca_buil.pdf +0 -0
- data/lib/voca_buil/docs/voca_buil.png +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 363805fc362c94b240e84ed195f5223d3bb98d44e1ce874bec4e86750f819712
|
|
4
|
+
data.tar.gz: f7e5eeba6ad88da821c9b109e505af5effd864fa0b402c7de5ebc24ffe702123
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 91f7ec107da0700a65df85d9067b5d74f6d90681518fd0bf99d5469673133e3144382fd642ba93c60ebdfafc9c761d4a0ea750ec8ec7510b29b2a7115c66f61f
|
|
7
|
+
data.tar.gz: 3213198f03c27dd47d769fa68331e823d647d39533cd1189708655148d1e2f33511966101fd7fc2c2a20e46d246d693989451435b64199277bd40a33d1128695
|
|
@@ -38,7 +38,8 @@ module AbbrevCheck
|
|
|
38
38
|
next if ans.nil?
|
|
39
39
|
user_input = user_inputs[i]
|
|
40
40
|
print "'#{user_input}' "
|
|
41
|
-
|
|
41
|
+
correct_answer = @options[:reverse] ? ans[-1] : ans[1]
|
|
42
|
+
if user_input == correct_answer
|
|
42
43
|
print "true: ".green
|
|
43
44
|
t_or_f = 't'
|
|
44
45
|
else
|
|
@@ -67,7 +68,19 @@ module AbbrevCheck
|
|
|
67
68
|
end
|
|
68
69
|
|
|
69
70
|
class IterativeCheck < VocaBuil::IterativeCheck
|
|
70
|
-
|
|
71
|
+
def run_checks
|
|
72
|
+
@iter.times do |i|
|
|
73
|
+
puts "\nIterative check ##{i+1}/#{@iter}".blue
|
|
74
|
+
# ここでAbbrevCheck::BaseCheckを明示的に使う
|
|
75
|
+
AbbrevCheck::BaseCheck.new(@options).run.each do |w, val|
|
|
76
|
+
if val == 'f'
|
|
77
|
+
@wrong_answers << w
|
|
78
|
+
else
|
|
79
|
+
@score += 1
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
71
84
|
end
|
|
72
85
|
|
|
73
86
|
class InstallCheckSample < VocaBuil::InstallCheckSample
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
---
|
|
2
|
+
:nodes:
|
|
3
|
+
- :id: 1
|
|
4
|
+
:name: file=file=ファイル操作
|
|
5
|
+
:type: dir
|
|
6
|
+
:file_path: "."
|
|
7
|
+
:icon_path:
|
|
8
|
+
:x: 74
|
|
9
|
+
:y: 211
|
|
10
|
+
:color: green
|
|
11
|
+
:fixed: true
|
|
12
|
+
- :id: 2
|
|
13
|
+
:name: ls=list=cwdのファイル,dirの表示
|
|
14
|
+
:type: dir
|
|
15
|
+
:file_path: "./ls=list=cwdのファイル,dirの表示"
|
|
16
|
+
:icon_path:
|
|
17
|
+
:x: 174
|
|
18
|
+
:y: 251
|
|
19
|
+
:color: green
|
|
20
|
+
:fixed: true
|
|
21
|
+
- :id: 3
|
|
22
|
+
:name: ls -lat=list long all time
|
|
23
|
+
:type: file
|
|
24
|
+
:file_path: "./ls=list=cwdのファイル,dirの表示/ls -lat=list long all time"
|
|
25
|
+
:icon_path:
|
|
26
|
+
:x: 208
|
|
27
|
+
:y: 273
|
|
28
|
+
:color: green
|
|
29
|
+
:fixed: true
|
|
30
|
+
- :id: 4
|
|
31
|
+
:name: mv=move=ファイルの移動
|
|
32
|
+
:type: file
|
|
33
|
+
:file_path: "./mv=move=ファイルの移動"
|
|
34
|
+
:icon_path:
|
|
35
|
+
:x: 168
|
|
36
|
+
:y: 298
|
|
37
|
+
:color: green
|
|
38
|
+
:fixed: true
|
|
39
|
+
- :id: 5
|
|
40
|
+
:name: cp=copy=ファイルの複製
|
|
41
|
+
:type: file
|
|
42
|
+
:file_path: "./cp=copy=ファイルの複製"
|
|
43
|
+
:icon_path:
|
|
44
|
+
:x: 166
|
|
45
|
+
:y: 321
|
|
46
|
+
:color: green
|
|
47
|
+
:fixed: true
|
|
48
|
+
- :id: 6
|
|
49
|
+
:name: rm=remove=ファイルの削除
|
|
50
|
+
:type: file
|
|
51
|
+
:file_path: "./rm=remove=ファイルの削除"
|
|
52
|
+
:icon_path:
|
|
53
|
+
:x: 165
|
|
54
|
+
:y: 347
|
|
55
|
+
:color: green
|
|
56
|
+
:fixed: true
|
|
57
|
+
- :id: 7
|
|
58
|
+
:name: cat=catenate=ファイルの中身を出力
|
|
59
|
+
:type: file
|
|
60
|
+
:file_path: "./cat=catenate=ファイルの中身を出力"
|
|
61
|
+
:icon_path:
|
|
62
|
+
:x: 80
|
|
63
|
+
:y: 381
|
|
64
|
+
:color: green
|
|
65
|
+
:fixed: true
|
|
66
|
+
- :id: 8
|
|
67
|
+
:name: dir=directory=フォルダ
|
|
68
|
+
:type: dir
|
|
69
|
+
:file_path: "../dir=directory=フォルダ"
|
|
70
|
+
:icon_path:
|
|
71
|
+
:x: 425
|
|
72
|
+
:y: 88
|
|
73
|
+
:color: green
|
|
74
|
+
:fixed: true
|
|
75
|
+
- :id: 9
|
|
76
|
+
:name: pwd=print working directory=cwd PATHを表示
|
|
77
|
+
:type: dir
|
|
78
|
+
:file_path: "../dir=directory=フォルダ/pwd=print working directory=cwd PATHを表示"
|
|
79
|
+
:icon_path:
|
|
80
|
+
:x: 351
|
|
81
|
+
:y: 36
|
|
82
|
+
:color: green
|
|
83
|
+
:fixed: true
|
|
84
|
+
- :id: 10
|
|
85
|
+
:name: mkdir=make directory=dir作成
|
|
86
|
+
:type: file
|
|
87
|
+
:file_path: "../dir=directory=フォルダ/pwd=print working directory=cwd PATHを表示/mkdir=make
|
|
88
|
+
directory=dir作成"
|
|
89
|
+
:icon_path:
|
|
90
|
+
:x: 414
|
|
91
|
+
:y: 137
|
|
92
|
+
:color: green
|
|
93
|
+
:fixed: true
|
|
94
|
+
- :id: 11
|
|
95
|
+
:name: rm -rf=remove recursively forcefully=PATHを再帰的で強制的に削除
|
|
96
|
+
:type: file
|
|
97
|
+
:file_path: "../dir=directory=フォルダ/rm -rf=remove recursively forcefully=PATHを再帰的で強制的に削除"
|
|
98
|
+
:icon_path:
|
|
99
|
+
:x: 468
|
|
100
|
+
:y: 104
|
|
101
|
+
:color: green
|
|
102
|
+
:fixed: true
|
|
103
|
+
- :id: 12
|
|
104
|
+
:name: cwd=current working directory=ファイル操作をしているPATH,基準となる場所
|
|
105
|
+
:type: file
|
|
106
|
+
:file_path: "../dir=directory=フォルダ/cwd=current working directory=ファイル操作をしているPATH,基準となる場所"
|
|
107
|
+
:icon_path:
|
|
108
|
+
:x: 314
|
|
109
|
+
:y: 18
|
|
110
|
+
:color: green
|
|
111
|
+
:fixed: true
|
|
112
|
+
- :id: 13
|
|
113
|
+
:name: cd=change directory=cwdの移動
|
|
114
|
+
:type: file
|
|
115
|
+
:file_path: "../dir=directory=フォルダ/cd=change directory=cwdの移動"
|
|
116
|
+
:icon_path:
|
|
117
|
+
:x: 418
|
|
118
|
+
:y: 167
|
|
119
|
+
:color: green
|
|
120
|
+
:fixed: true
|
|
121
|
+
- :id: 14
|
|
122
|
+
:name: tree=tree=ディレクトリのツリー表示
|
|
123
|
+
:type: file
|
|
124
|
+
:file_path: "../dir=directory=フォルダ/tree=tree=ディレクトリのツリー表示"
|
|
125
|
+
:icon_path:
|
|
126
|
+
:x: 340
|
|
127
|
+
:y: 193
|
|
128
|
+
:color: green
|
|
129
|
+
:fixed: true
|
|
130
|
+
- :id: 15
|
|
131
|
+
:name: path=path=パス,小径
|
|
132
|
+
:type: dir
|
|
133
|
+
:file_path: "../path=path=パス,小径"
|
|
134
|
+
:icon_path:
|
|
135
|
+
:x: 70
|
|
136
|
+
:y: 33
|
|
137
|
+
:color: green
|
|
138
|
+
:fixed: true
|
|
139
|
+
- :id: 16
|
|
140
|
+
:name: full_path=full path=絶対パス
|
|
141
|
+
:type: file
|
|
142
|
+
:file_path: "../path=path=パス,小径/full_path=full path=絶対パス"
|
|
143
|
+
:icon_path:
|
|
144
|
+
:x: 97
|
|
145
|
+
:y: 52
|
|
146
|
+
:color: green
|
|
147
|
+
:fixed: true
|
|
148
|
+
- :id: 17
|
|
149
|
+
:name: rel_path=relative path=相対パス
|
|
150
|
+
:type: file
|
|
151
|
+
:file_path: "../path=path=パス,小径/rel_path=relative path=相対パス"
|
|
152
|
+
:icon_path:
|
|
153
|
+
:x: 95
|
|
154
|
+
:y: 76
|
|
155
|
+
:color: green
|
|
156
|
+
:fixed: true
|
|
157
|
+
- :id: 18
|
|
158
|
+
:name: c-keys=controll-keys=ファイル編集のkeyバインド
|
|
159
|
+
:type: dir
|
|
160
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド"
|
|
161
|
+
:icon_path:
|
|
162
|
+
:x: 403
|
|
163
|
+
:y: 412
|
|
164
|
+
:color: green
|
|
165
|
+
:fixed: true
|
|
166
|
+
- :id: 19
|
|
167
|
+
:name: c-a=ahead=行頭へ移動
|
|
168
|
+
:type: file
|
|
169
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド/c-a=ahead=行頭へ移動"
|
|
170
|
+
:icon_path:
|
|
171
|
+
:x: 198
|
|
172
|
+
:y: 464
|
|
173
|
+
:color: green
|
|
174
|
+
:fixed: true
|
|
175
|
+
- :id: 20
|
|
176
|
+
:name: c-e=end=行末へ移動
|
|
177
|
+
:type: file
|
|
178
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド/c-e=end=行末へ移動"
|
|
179
|
+
:icon_path:
|
|
180
|
+
:x: 572
|
|
181
|
+
:y: 454
|
|
182
|
+
:color: green
|
|
183
|
+
:fixed: true
|
|
184
|
+
- :id: 21
|
|
185
|
+
:name: c-p=previous=前行へ移動
|
|
186
|
+
:type: file
|
|
187
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド/c-p=previous=前行へ移動"
|
|
188
|
+
:icon_path:
|
|
189
|
+
:x: 401
|
|
190
|
+
:y: 344
|
|
191
|
+
:color: green
|
|
192
|
+
:fixed: true
|
|
193
|
+
- :id: 22
|
|
194
|
+
:name: c-n=next=次行へ移動
|
|
195
|
+
:type: file
|
|
196
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド/c-n=next=次行へ移動"
|
|
197
|
+
:icon_path:
|
|
198
|
+
:x: 403
|
|
199
|
+
:y: 475
|
|
200
|
+
:color: green
|
|
201
|
+
:fixed: true
|
|
202
|
+
- :id: 23
|
|
203
|
+
:name: c-f=forward=一字進む
|
|
204
|
+
:type: file
|
|
205
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド/c-f=forward=一字進む"
|
|
206
|
+
:icon_path:
|
|
207
|
+
:x: 272
|
|
208
|
+
:y: 444
|
|
209
|
+
:color: green
|
|
210
|
+
:fixed: true
|
|
211
|
+
- :id: 24
|
|
212
|
+
:name: c-b=backward=一字戻る
|
|
213
|
+
:type: file
|
|
214
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド/c-b=backward=一字戻る"
|
|
215
|
+
:icon_path:
|
|
216
|
+
:x: 474
|
|
217
|
+
:y: 439
|
|
218
|
+
:color: green
|
|
219
|
+
:fixed: true
|
|
220
|
+
- :id: 25
|
|
221
|
+
:name: c-d=delete=一字削除
|
|
222
|
+
:type: file
|
|
223
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド/c-d=delete=一字削除"
|
|
224
|
+
:icon_path:
|
|
225
|
+
:x: 263
|
|
226
|
+
:y: 546
|
|
227
|
+
:color: green
|
|
228
|
+
:fixed: true
|
|
229
|
+
- :id: 26
|
|
230
|
+
:name: c-k=kill line=一行削除
|
|
231
|
+
:type: file
|
|
232
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド/c-k=kill line=一行削除"
|
|
233
|
+
:icon_path:
|
|
234
|
+
:x: 262
|
|
235
|
+
:y: 564
|
|
236
|
+
:color: green
|
|
237
|
+
:fixed: true
|
|
238
|
+
:edges:
|
|
239
|
+
- :from: 1
|
|
240
|
+
# from: file=file=ファイル操作, to: ls=list=cwdのファイル,dirの表示
|
|
241
|
+
:to: 2
|
|
242
|
+
- :from: 2
|
|
243
|
+
# from: ls=list=cwdのファイル,dirの表示, to: ls -lat=list long all time
|
|
244
|
+
:to: 3
|
|
245
|
+
- :from: 1
|
|
246
|
+
# from: file=file=ファイル操作, to: mv=move=ファイルの移動
|
|
247
|
+
:to: 4
|
|
248
|
+
- :from: 1
|
|
249
|
+
# from: file=file=ファイル操作, to: cp=copy=ファイルの複製
|
|
250
|
+
:to: 5
|
|
251
|
+
- :from: 1
|
|
252
|
+
# from: file=file=ファイル操作, to: rm=remove=ファイルの削除
|
|
253
|
+
:to: 6
|
|
254
|
+
- :from: 1
|
|
255
|
+
# from: file=file=ファイル操作, to: cat=catenate=ファイルの中身を出力
|
|
256
|
+
:to: 7
|
|
257
|
+
- :from: 8
|
|
258
|
+
# from: dir=directory=フォルダ, to: pwd=print working directory=cwd PATHを表示
|
|
259
|
+
:to: 9
|
|
260
|
+
- :from: 9
|
|
261
|
+
# from: pwd=print working directory=cwd PATHを表示, to: mkdir=make directory=dir作成
|
|
262
|
+
:to: 10
|
|
263
|
+
- :from: 8
|
|
264
|
+
# from: dir=directory=フォルダ, to: rm -rf=remove recursively forcefully=PATHを再帰的で強制的に削除
|
|
265
|
+
:to: 11
|
|
266
|
+
- :from: 8
|
|
267
|
+
# from: dir=directory=フォルダ, to: cwd=current working directory=ファイル操作をしているPATH,基準となる場所
|
|
268
|
+
:to: 12
|
|
269
|
+
- :from: 8
|
|
270
|
+
# from: dir=directory=フォルダ, to: cd=change directory=cwdの移動
|
|
271
|
+
:to: 13
|
|
272
|
+
- :from: 8
|
|
273
|
+
# from: dir=directory=フォルダ, to: tree=tree=ディレクトリのツリー表示
|
|
274
|
+
:to: 14
|
|
275
|
+
- :from: 15
|
|
276
|
+
# from: path=path=パス,小径, to: full_path=full path=絶対パス
|
|
277
|
+
:to: 16
|
|
278
|
+
- :from: 15
|
|
279
|
+
# from: path=path=パス,小径, to: rel_path=relative path=相対パス
|
|
280
|
+
:to: 17
|
|
281
|
+
- :from: 18
|
|
282
|
+
# from: c-keys=controll-keys=ファイル編集のkeyバインド, to: c-a=ahead=行頭へ移動
|
|
283
|
+
:to: 19
|
|
284
|
+
- :from: 18
|
|
285
|
+
# from: c-keys=controll-keys=ファイル編集のkeyバインド, to: c-e=end=行末へ移動
|
|
286
|
+
:to: 20
|
|
287
|
+
- :from: 18
|
|
288
|
+
# from: c-keys=controll-keys=ファイル編集のkeyバインド, to: c-p=previous=前行へ移動
|
|
289
|
+
:to: 21
|
|
290
|
+
- :from: 18
|
|
291
|
+
# from: c-keys=controll-keys=ファイル編集のkeyバインド, to: c-n=next=次行へ移動
|
|
292
|
+
:to: 22
|
|
293
|
+
- :from: 18
|
|
294
|
+
# from: c-keys=controll-keys=ファイル編集のkeyバインド, to: c-f=forward=一字進む
|
|
295
|
+
:to: 23
|
|
296
|
+
- :from: 18
|
|
297
|
+
# from: c-keys=controll-keys=ファイル編集のkeyバインド, to: c-b=backward=一字戻る
|
|
298
|
+
:to: 24
|
|
299
|
+
- :from: 18
|
|
300
|
+
# from: c-keys=controll-keys=ファイル編集のkeyバインド, to: c-d=delete=一字削除
|
|
301
|
+
:to: 25
|
|
302
|
+
- :from: 18
|
|
303
|
+
# from: c-keys=controll-keys=ファイル編集のkeyバインド, to: c-k=kill line=一行削除
|
|
304
|
+
:to: 26
|
|
@@ -1,19 +1,30 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
ls
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
2
|
+
#file=file=ファイル操作:
|
|
3
|
+
ls=list=cwdのファイル,dirの表示:
|
|
4
|
+
ls -lat=list long all time:
|
|
5
|
+
mv=move=ファイルの移動:
|
|
6
|
+
cp=copy=ファイルの複製:
|
|
7
|
+
rm=remove=ファイルの削除:
|
|
8
|
+
cat=catenate=ファイルの中身を出力:
|
|
9
|
+
#dir=directory=フォルダ:
|
|
10
|
+
pwd=print working directory=cwd PATHを表示:
|
|
11
|
+
mkdir=make directory=dir作成:
|
|
12
|
+
rm -rf=remove recursively forcefully=PATHを再帰的で強制的に削除/dir丸ごと削除:
|
|
13
|
+
cwd=current working directory=ファイル操作をしているPATH,基準となる場所:
|
|
14
|
+
cd=change directory=cwdの移動:
|
|
15
|
+
tree=tree=ディレクトリのツリー表示:
|
|
16
|
+
#path=path=パス,小径:
|
|
17
|
+
full_path=full path=絶対パス:
|
|
18
|
+
rel_path=relative path=相対パス:
|
|
19
|
+
#c-keys=controll-keys=ファイル編集のkeyバインド:
|
|
20
|
+
c-a=ahead=行頭へ移動:
|
|
21
|
+
c-e=end=行末へ移動:
|
|
22
|
+
c-p=previous=前行へ移動:
|
|
23
|
+
c-n=next=次行へ移動:
|
|
24
|
+
c-f=forward=一字進む:
|
|
25
|
+
c-b=backward=一字戻る:
|
|
26
|
+
c-d=delete=一字削除:
|
|
27
|
+
c-k=kill line=一行削除:
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
---
|
|
2
|
+
:nodes:
|
|
3
|
+
- :id: 1
|
|
4
|
+
:name: file=file=ファイル操作
|
|
5
|
+
:type: dir
|
|
6
|
+
:file_path: "."
|
|
7
|
+
- :id: 2
|
|
8
|
+
:name: ls=list=cwdのファイル,dirの表示
|
|
9
|
+
:type: dir
|
|
10
|
+
:file_path: "./ls=list=cwdのファイル,dirの表示"
|
|
11
|
+
- :id: 3
|
|
12
|
+
:name: ls -lat=list long all time
|
|
13
|
+
:type: file
|
|
14
|
+
:file_path: "./ls=list=cwdのファイル,dirの表示/ls -lat=list long all time"
|
|
15
|
+
- :id: 4
|
|
16
|
+
:name: mv=move=ファイルの移動
|
|
17
|
+
:type: file
|
|
18
|
+
:file_path: "./mv=move=ファイルの移動"
|
|
19
|
+
- :id: 5
|
|
20
|
+
:name: cp=copy=ファイルの複製
|
|
21
|
+
:type: file
|
|
22
|
+
:file_path: "./cp=copy=ファイルの複製"
|
|
23
|
+
- :id: 6
|
|
24
|
+
:name: rm=remove=ファイルの削除
|
|
25
|
+
:type: file
|
|
26
|
+
:file_path: "./rm=remove=ファイルの削除"
|
|
27
|
+
- :id: 7
|
|
28
|
+
:name: cat=catenate=ファイルの中身を出力
|
|
29
|
+
:type: file
|
|
30
|
+
:file_path: "./cat=catenate=ファイルの中身を出力"
|
|
31
|
+
- :id: 8
|
|
32
|
+
:name: dir=directory=フォルダ
|
|
33
|
+
:type: dir
|
|
34
|
+
:file_path: "../dir=directory=フォルダ"
|
|
35
|
+
- :id: 9
|
|
36
|
+
:name: pwd=print working directory=cwd PATHを表示
|
|
37
|
+
:type: dir
|
|
38
|
+
:file_path: "../dir=directory=フォルダ/pwd=print working directory=cwd PATHを表示"
|
|
39
|
+
- :id: 10
|
|
40
|
+
:name: mkdir=make directory=dir作成
|
|
41
|
+
:type: file
|
|
42
|
+
:file_path: "../dir=directory=フォルダ/pwd=print working directory=cwd PATHを表示/mkdir=make
|
|
43
|
+
directory=dir作成"
|
|
44
|
+
- :id: 11
|
|
45
|
+
:name: rm -rf=remove recursively forcefully=PATHを再帰的で強制的に削除
|
|
46
|
+
:type: file
|
|
47
|
+
:file_path: "../dir=directory=フォルダ/rm -rf=remove recursively forcefully=PATHを再帰的で強制的に削除"
|
|
48
|
+
- :id: 12
|
|
49
|
+
:name: cwd=current working directory=ファイル操作をしているPATH,基準となる場所
|
|
50
|
+
:type: file
|
|
51
|
+
:file_path: "../dir=directory=フォルダ/cwd=current working directory=ファイル操作をしているPATH,基準となる場所"
|
|
52
|
+
- :id: 13
|
|
53
|
+
:name: cd=change directory=cwdの移動
|
|
54
|
+
:type: file
|
|
55
|
+
:file_path: "../dir=directory=フォルダ/cd=change directory=cwdの移動"
|
|
56
|
+
- :id: 14
|
|
57
|
+
:name: tree=tree=ディレクトリのツリー表示
|
|
58
|
+
:type: file
|
|
59
|
+
:file_path: "../dir=directory=フォルダ/tree=tree=ディレクトリのツリー表示"
|
|
60
|
+
- :id: 15
|
|
61
|
+
:name: path=path=パス,小径
|
|
62
|
+
:type: dir
|
|
63
|
+
:file_path: "../path=path=パス,小径"
|
|
64
|
+
- :id: 16
|
|
65
|
+
:name: full_path=full path=絶対パス
|
|
66
|
+
:type: file
|
|
67
|
+
:file_path: "../path=path=パス,小径/full_path=full path=絶対パス"
|
|
68
|
+
- :id: 17
|
|
69
|
+
:name: rel_path=relative path=相対パス
|
|
70
|
+
:type: file
|
|
71
|
+
:file_path: "../path=path=パス,小径/rel_path=relative path=相対パス"
|
|
72
|
+
- :id: 18
|
|
73
|
+
:name: c-keys=controll-keys=ファイル編集のkeyバインド
|
|
74
|
+
:type: dir
|
|
75
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド"
|
|
76
|
+
- :id: 19
|
|
77
|
+
:name: c-a=ahead=行頭へ移動
|
|
78
|
+
:type: file
|
|
79
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド/c-a=ahead=行頭へ移動"
|
|
80
|
+
- :id: 20
|
|
81
|
+
:name: c-e=end=行末へ移動
|
|
82
|
+
:type: file
|
|
83
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド/c-e=end=行末へ移動"
|
|
84
|
+
- :id: 21
|
|
85
|
+
:name: c-p=previous=前行へ移動
|
|
86
|
+
:type: file
|
|
87
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド/c-p=previous=前行へ移動"
|
|
88
|
+
- :id: 22
|
|
89
|
+
:name: c-n=next=次行へ移動
|
|
90
|
+
:type: file
|
|
91
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド/c-n=next=次行へ移動"
|
|
92
|
+
- :id: 23
|
|
93
|
+
:name: c-f=forward=一字進む
|
|
94
|
+
:type: file
|
|
95
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド/c-f=forward=一字進む"
|
|
96
|
+
- :id: 24
|
|
97
|
+
:name: c-b=backward=一字戻る
|
|
98
|
+
:type: file
|
|
99
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド/c-b=backward=一字戻る"
|
|
100
|
+
- :id: 25
|
|
101
|
+
:name: c-d=delete=一字削除
|
|
102
|
+
:type: file
|
|
103
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド/c-d=delete=一字削除"
|
|
104
|
+
- :id: 26
|
|
105
|
+
:name: c-k=kill line=一行削除
|
|
106
|
+
:type: file
|
|
107
|
+
:file_path: "../c-keys=controll-keys=ファイル編集のkeyバインド/c-k=kill line=一行削除"
|
|
108
|
+
:edges:
|
|
109
|
+
- :from: 1
|
|
110
|
+
# from: file=file=ファイル操作, to: ls=list=cwdのファイル,dirの表示
|
|
111
|
+
:to: 2
|
|
112
|
+
- :from: 2
|
|
113
|
+
# from: ls=list=cwdのファイル,dirの表示, to: ls -lat=list long all time
|
|
114
|
+
:to: 3
|
|
115
|
+
- :from: 1
|
|
116
|
+
# from: file=file=ファイル操作, to: mv=move=ファイルの移動
|
|
117
|
+
:to: 4
|
|
118
|
+
- :from: 1
|
|
119
|
+
# from: file=file=ファイル操作, to: cp=copy=ファイルの複製
|
|
120
|
+
:to: 5
|
|
121
|
+
- :from: 1
|
|
122
|
+
# from: file=file=ファイル操作, to: rm=remove=ファイルの削除
|
|
123
|
+
:to: 6
|
|
124
|
+
- :from: 1
|
|
125
|
+
# from: file=file=ファイル操作, to: cat=catenate=ファイルの中身を出力
|
|
126
|
+
:to: 7
|
|
127
|
+
- :from: 8
|
|
128
|
+
# from: dir=directory=フォルダ, to: pwd=print working directory=cwd PATHを表示
|
|
129
|
+
:to: 9
|
|
130
|
+
- :from: 9
|
|
131
|
+
# from: pwd=print working directory=cwd PATHを表示, to: mkdir=make directory=dir作成
|
|
132
|
+
:to: 10
|
|
133
|
+
- :from: 8
|
|
134
|
+
# from: dir=directory=フォルダ, to: rm -rf=remove recursively forcefully=PATHを再帰的で強制的に削除
|
|
135
|
+
:to: 11
|
|
136
|
+
- :from: 8
|
|
137
|
+
# from: dir=directory=フォルダ, to: cwd=current working directory=ファイル操作をしているPATH,基準となる場所
|
|
138
|
+
:to: 12
|
|
139
|
+
- :from: 8
|
|
140
|
+
# from: dir=directory=フォルダ, to: cd=change directory=cwdの移動
|
|
141
|
+
:to: 13
|
|
142
|
+
- :from: 8
|
|
143
|
+
# from: dir=directory=フォルダ, to: tree=tree=ディレクトリのツリー表示
|
|
144
|
+
:to: 14
|
|
145
|
+
- :from: 15
|
|
146
|
+
# from: path=path=パス,小径, to: full_path=full path=絶対パス
|
|
147
|
+
:to: 16
|
|
148
|
+
- :from: 15
|
|
149
|
+
# from: path=path=パス,小径, to: rel_path=relative path=相対パス
|
|
150
|
+
:to: 17
|
|
151
|
+
- :from: 18
|
|
152
|
+
# from: c-keys=controll-keys=ファイル編集のkeyバインド, to: c-a=ahead=行頭へ移動
|
|
153
|
+
:to: 19
|
|
154
|
+
- :from: 18
|
|
155
|
+
# from: c-keys=controll-keys=ファイル編集のkeyバインド, to: c-e=end=行末へ移動
|
|
156
|
+
:to: 20
|
|
157
|
+
- :from: 18
|
|
158
|
+
# from: c-keys=controll-keys=ファイル編集のkeyバインド, to: c-p=previous=前行へ移動
|
|
159
|
+
:to: 21
|
|
160
|
+
- :from: 18
|
|
161
|
+
# from: c-keys=controll-keys=ファイル編集のkeyバインド, to: c-n=next=次行へ移動
|
|
162
|
+
:to: 22
|
|
163
|
+
- :from: 18
|
|
164
|
+
# from: c-keys=controll-keys=ファイル編集のkeyバインド, to: c-f=forward=一字進む
|
|
165
|
+
:to: 23
|
|
166
|
+
- :from: 18
|
|
167
|
+
# from: c-keys=controll-keys=ファイル編集のkeyバインド, to: c-b=backward=一字戻る
|
|
168
|
+
:to: 24
|
|
169
|
+
- :from: 18
|
|
170
|
+
# from: c-keys=controll-keys=ファイル編集のkeyバインド, to: c-d=delete=一字削除
|
|
171
|
+
:to: 25
|
|
172
|
+
- :from: 18
|
|
173
|
+
# from: c-keys=controll-keys=ファイル編集のkeyバインド, to: c-k=kill line=一行削除
|
|
174
|
+
:to: 26
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -30,8 +30,16 @@ Usage: hc check [options]
|
|
|
30
30
|
--install Install sample check data
|
|
31
31
|
#+end_src
|
|
32
32
|
* usage
|
|
33
|
-
| [[file:./abbrev_checker/abbrev_checker.
|
|
33
|
+
| [[file:./abbrev_checker/abbrev_checker.004.png]]
|
|
34
34
|
| Fig.1 hc abbrevの動作.
|
|
35
|
+
** nomal check
|
|
36
|
+
: > hc check -f abbrev_yamls/command_tree.yaml
|
|
37
|
+
とするとword checkerと同様の動き.
|
|
38
|
+
** abbreviation check
|
|
39
|
+
: > hc abbrev -f abbrev_yamls/command_tree.yaml
|
|
40
|
+
とするとabbrev(短縮形)のチェックとなり,
|
|
41
|
+
full spellをチェック.
|
|
42
|
+
|
|
35
43
|
* dir_tree.yaml編集
|
|
36
44
|
| [[file:./abbrev_checker/abbrev_checker.003.png]]
|
|
37
45
|
| Fig.2 dir_tree.yamlのフォーマット.
|
|
@@ -39,6 +47,10 @@ Answers-Quizはdir_tree.yamlから取り出しています.
|
|
|
39
47
|
自分の進捗に合わせて編集していってください.
|
|
40
48
|
消してしまわずに'#'でコメントアウトするのが正しいやり方.
|
|
41
49
|
|
|
50
|
+
: > hc view -t command_tree.yaml
|
|
51
|
+
でchunkのまとまりごとに表示できるように
|
|
52
|
+
dummyの選択肢を入れています.
|
|
53
|
+
|
|
42
54
|
さらに,
|
|
43
55
|
: > hc stack
|
|
44
56
|
でバックアップをとって変えていくのがコツです.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|