tMakefile: clean up conversion of html posts to plaintext - adamsgaard.dk - my academic webpage (HTM) git clone git://src.adamsgaard.dk/adamsgaard.dk (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 1adde9aa1c1fe4a1f6bffdecdc14e2992c406cfc (DIR) parent 45e69028b5b1b0801ee847166b90fc41538d3d99 (HTM) 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: M Makefile | 2 -- 1 file changed, 0 insertions(+), 2 deletions(-) --- (DIR) diff --git a/Makefile b/Makefile t@@ -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