aboutsummaryrefslogtreecommitdiffstats
path: root/buch/common/farbseiten.sh
diff options
context:
space:
mode:
Diffstat (limited to 'buch/common/farbseiten.sh')
-rw-r--r--buch/common/farbseiten.sh219
1 files changed, 26 insertions, 193 deletions
diff --git a/buch/common/farbseiten.sh b/buch/common/farbseiten.sh
index afccf66..10af1d0 100644
--- a/buch/common/farbseiten.sh
+++ b/buch/common/farbseiten.sh
@@ -8,6 +8,9 @@ awk 'BEGIN {
result = ""
counter = 0
}
+/^#/ {
+ next
+}
{
if (length(result) == 0) {
result = $1
@@ -20,198 +23,28 @@ END {
printf("%s\n", result)
printf("Anzahl Farbseiten: %d\n", counter)
}' <<EOF
-13
-16
-17
+# Kapitel 1
19
-21
-23
-24
-25
-29
-30
-31
-34
-37
-42
-45
-49
-50
-52
-53
-55
-59
-65
-71
-72
-74
-76
-77
-78
-84
-85
-87
-88
-90
-91
-95
-100
-104
-107
-109
-110
-111
-113
-114
-116
-117
-120
-122
-123
-125
-140
-149
-150
-154
-155
-161
-162
-163
-165
-167
-170
-177
-187
-189
-190
-191
-192
-197
-204
-209
-210
-216
-217
-219
-220
-224
-225
-226
-228
-229
-230
-232
-233
-235
-236
-239
-241
-245
-246
-251
-266
-268
-269
-270
-271
-272
-273
-276
-278
-281
-284
-285
-286
-287
-288
-293
-300
-304
-305
-306
-307
-309
-310
-311
-312
-313
-316
-318
-319
-321
-324
-326
-328
-329
-332
-333
-334
-335
-336
-337
-338
-339
-340
-341
-342
-345
-347
-348
-349
-350
-352
-353
-357
-358
-359
-360
-365
-369
-370
-378
-387
-388
-389
-390
-391
-401
-404
-405
-406
-407
-408
-410
-411
-412
-414
-415
-416
-418
-420
-422
-423
-424
-425
-426
-427
-428
-434
-435
-436
-443
-447
-448
-449
-452
-455
-456
-457
-458
-460
-461
-469
-473
-474
-475
-481
+# Kapitel 2
+# Kapitel 3
+# Kapitel 4
+# Kapitel 5
+# Kapitel 6
+# Kapitel 7
+# Kapitel 8
+# Kapitel 9
+# Kapitel 10
+# Kapitel 11
+# Kapitel 12
+# Kapitel 13
+# Kapitel 14
+# Kapitel 15
+# Kapitel 16
+# Kapitel 17
+# Kapitel 18
+# Kapitel 19
+# Kapitel 20
+# Kapitel 21
+
+
EOF