diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-08-29 17:38:07 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-08-29 17:38:07 +0200 |
commit | f2bf2b72b4dcc25da1513828345482a92f789b5e (patch) | |
tree | 134e74834933947a8fac6294071931ecf8c4fe53 | |
parent | 9af3b07382c69fbd9253e6cae6211d756397c76f (diff) |
tighten ontology mangling: strip excess tailing whitepspace
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |