Add folding to txt and md processing. - tgtimes - The Gopher Times HTML git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/tgtimes DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit f0f4fe1f3587af6b219f868462749de5dd4fa1c7 DIR parent 45110ef8312c185c26327b37a314ece355633605 HTML Author: Christoph Lohmann <20h@r-36.net> Date: Sun, 25 Jun 2023 14:58:27 +0200 Add folding to txt and md processing. Diffstat: M Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/Makefile b/Makefile @@ -11,12 +11,12 @@ all: ${tgtimes}.pdf mdfiles=$(wildcard opus${v}/*.md) mdptxtfiles=${mdfiles:.md=.ptxt} .md.ptxt: - cat $< > $<.ptxt + cat $< | fold -s > $<.ptxt txtfiles=$(wildcard opus${v}/*.txt) txtptxtfiles=${txtfiles:.txt=.ptxt} .txt.ptxt: - cat $< > $<.ptxt + cat $< | fold -s > $<.ptxt rawfiles=$(wildcard opus${v}/*.raw) rawptxtfiles=${rawfiles:.raw=.ptxt}