From 61020c4dd82a9ae61e544bf56b10649e1d4376ed Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 11 Jan 2020 12:21:47 +0100 Subject: [PATCH 1/1] Avoid stray '' text. The markdown converter converts the doctype header into html which results in a stray line at the top of the chapter. This only affects the chapters that still use markdown: Bash, Git, Command Line Utilities, and Gridengine. This patch applies a silly workaround. In the long run, the chapters should be converted to plain html. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d210e2b..14357e8 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,8 @@ $(DEST): # m4 -> html -MD_CMD = m4 $(M4_ARGS) $< | markdown -f tables,links > $@ +MD_CMD = m4 $(M4_ARGS) $< | sed -e '1,/^/d' \ + | markdown -f tables,links > $@ $(DEST)/Bash.html: Bash.m4 $(MACROS) | $(DEST) $(MD_CMD) -- 2.39.2