From 70bfa557f719d8015f517c367a44dbda418504b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Sch=C3=A4rtl?= <andreas@schaertl.me> Date: Tue, 28 Apr 2020 09:40:32 +0000 Subject: [PATCH] add extract-iris.sh --- ulo/extract-iris.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 ulo/extract-iris.sh diff --git a/ulo/extract-iris.sh b/ulo/extract-iris.sh new file mode 100755 index 0000000..cd42f55 --- /dev/null +++ b/ulo/extract-iris.sh @@ -0,0 +1,8 @@ +#! /bin/sh + +# extract iris from rdf files passed on stdin; really it just returns all +# quoted strings + +set -eu + +grep -P -o '".*"' | sed 's/"//g' -- GitLab