File: finish.sed

package info (click to toggle)
glogg 1.1.4-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 2,412 kB
  • sloc: cpp: 12,813; sh: 117; perl: 32; sed: 25; makefile: 8
file content (31 lines) | stat: -rw-r--r-- 468 bytes parent folder | download | duplicates (4)
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
# Add header/footer around the Markdown generated documentation
# Copied from Damian Cugley (http://www.alleged.org.uk/2005/marky/)

1   {
    h
    i\
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\
<html xml:lang="en-US" lang="en-US">\
<head>
    s/h2>/title>/g
    rmetadata.inc
    a\
</head>\
<body>
    rheader.inc
}

2   {
    x
    p
    x
}

$   {
    rfooter.inc
    a\
</body>\
</html>
}