From db74ded167e78a529c3d8cff400509dece239024 Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Sun, 9 Jul 2017 16:02:57 -0400 Subject: docs/index.sh: Fix sed(1) invocation on OpenBSD This is the same idea as 497a49162f7c8b5c1d7c653087b0ac6c8e5765f9. Without this patch, the following errors occur when running index.sh: sed: 1: "news/new-mailing-lists. ...: extra characters at the end of n command sed: 1: "news/andrew-robbins-new ...: extra characters at the end of n command sed: 1: "news/formalised-structu ...: extra characters at the end of n command sed: 1: "news/proposal-rejoin-gn ...: extra characters at the end of n command sed: 1: "news/unity.bare.html": extra characters at the end of n command --- www/index.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www') diff --git a/www/index.sh b/www/index.sh index 18aad44b..4d7d2292 100755 --- a/www/index.sh +++ b/www/index.sh @@ -60,7 +60,7 @@ rss() { for f in $FILES do # render content and escape - desc=$(sed ${f%.md}.bare.html -e 's//\>/g') + desc=$(sed -e 's//\>/g') url="${f%.md}.html" printf '%s\n' '' -- cgit v1.2.3-70-g09d2