From 2653ca06bad735dbd4bfd0dcd213a183f20a00cb Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 16 Jul 2017 15:05:49 +0100 Subject: [PATCH] Makefile: Deploy countermeasures for dc(1) line splitting. dc(1) splits long output lines, introducing backslash-newline pairs. Remove them again. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3ab34fa..229d13b 100644 --- a/Makefile +++ b/Makefile @@ -116,7 +116,7 @@ auto.mk: Makefile \ eval n0=\$$b$${blksz}_N0; \ N0=$$(echo $$n0 | tr a-f A-F); \ - n1=$$(echo "16o 16i $$N0 D + p" | dc | tr A-F a-f); \ + n1=$$(echo "16o 16i $$N0 D + p" | dc | tr A-F a-f | tr -d '\\\n'); \ nsz=$$(( 4*($$(echo $$n0 | wc -c) - 1) )); \ echo "b$${blksz}_N1 = $$n1"; \ echo "b$${blksz}_NSZ0 = $$nsz"; \ -- 2.11.0