Repository navigation
Expand file tree
/
Copy pathchangelog.html
More file actions
98 lines (80 loc) · 2.32 KB
/
Copy pathchangelog.html
File metadata and controls
98 lines (80 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!doctype html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<meta name='generator' content='md2rss'>
<link rel='alternate' href='feed.xml'
type='application/rss+xml' title='RSS'>
<!-- Rendered by md2rss -->
<!-- https://git.sr.ht/~pem/md2rss -->
<title>Changelog -- Advanced Bash-Scripting Guide</title>
<style>
body {
max-width: 1000px;
margin-left: auto;
margin-right: auto;
padding-bottom: 5em;
font-family: serif;
line-height: 1.6
}
h1, h2, h3 {
color: darkgray;
}
h2 {
border-bottom: 1px dotted gray;
padding-top: 1em;
}
.date {
color: darkgray;
font-weight: bold;
}
pre {
background-color: #f7f7f8;
line-height: 1.45;
padding: 10px;
}
code {
background-color: #f7f7f8;
}
.ref-link {
text-decoration: none;
position: absolute;
left: -1em;
/* The padding connects the hover area for the mouse */
padding-right: 0.4em;
}
h2.anchor-positioning {
position: relative;
}
h2:hover .ref-link {
display: inline;
}
h2 .ref-link {
display: none;
}
:target {
font-style: italic;
}
</style>
</head>
<body>
<h1>Changelog -- Advanced Bash-Scripting Guide</h1>
<p>Table of Contents: <a href='https://hangar118.sdf.org/p/bash-scripting-guide/'>The Advanced Bash-Scripting
Guide</a></p>
<p>RSS: <a href='https://hangar118.sdf.org/p/bash-scripting-guide/feed.xml'>feed.xml</a></p>
<h2 class='anchor-positioning' id='2024-08-18--v0-2-1--markdown-rendering-in-awk'>
<a href='#2024-08-18--v0-2-1--markdown-rendering-in-awk' class='ref-link' rel='nofollow noopener'>#</a>
v0.2.1, Markdown rendering in AWK
</h2>
<div class='date'>2024-08-18</div>
<p>Anybody deeply interested in shell scripting will at some point come
across <code>awk</code>. In the spirit of <i>do one thing and do it well</i>, <code>awk</code>
can be defined as a <b>line-oriented</b> processor <b>with state</b>. In
contrast, <code>sed</code> is a line-oriented with rules that provide only a
stateless form.</p>
<p>Rendering of Markdown format combines line-oriented approach with the
need for a state. As a form of an introduction to <code>awk</code>, a
<b>rendering</b> of Markdown is provided as a somewhat useful example.</p>
<p>Chapter: <a href='https://hangar118.sdf.org/p/bash-scripting-guide/awk_micro_primer.html'>Awk Micro-Primer</a></p>
</body>