From f2bf2b72b4dcc25da1513828345482a92f789b5e Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 29 Aug 2024 17:38:07 +0200 Subject: tighten ontology mangling: strip excess tailing whitepspace --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index a075a3b..8aa5a31 100644 --- a/Makefile +++ b/Makefile @@ -59,6 +59,7 @@ learn/$(ONTOLOGIES_VERSION)/%.ttl: learn/%.ttl -e 's,purl\.org/learn/\K(?=[^\d]),$(ONTOLOGIES_VERSION)/,g;' \ -e 's/\n\h+owl:imports <[^>]+> ;//g;' \ -e 's/(?:\G|^)\s{4}/\t/gm;' \ + -e 's/\s+$$/\n/;' \ < $< > $@ learn/%_sdm.qmd: learn/$(ONTOLOGIES_VERSION)/%.ttl -- cgit v1.2.3