adamsgaard.dk

my academic webpage
git clone git://src.adamsgaard.dk/adamsgaard.dk # fast
git clone https://src.adamsgaard.dk/adamsgaard.dk.git # slow
Log | Files | Refs | README | LICENSE Back to index

commit 1adde9aa1c1fe4a1f6bffdecdc14e2992c406cfc
parent 45e69028b5b1b0801ee847166b90fc41538d3d99
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed,  9 Dec 2020 11:49:16 +0100

Makefile: clean up conversion of html posts to plaintext

Diffstat:
MMakefile | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -32,9 +32,7 @@ view: converthtml: for f in pages/*.html; do \ - title="$$(sed -n 's/^title.*=//p' "$${f%%.html}.cfg")"; \ out="$$(printf '%s' "$$f" | sed 's/[0-9][0-9][0-9]-//;s/\.html$$/.txt/')"; \ - printf '--- %s ---\n\n' "$$title" > "$$out"; \ w3m -dump -T text/html -o display_link_number=1 "$$f" >> "$$out"; \ done