[wiki] [sites] smu: read from stdin || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Sat, 08 Sep 2018 19:22:15 +0200

commit dc842742887341cabbdf64f1c0a0013f7790b96a
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Sat Sep 8 19:19:58 2018 +0200

    smu: read from stdin

diff --git a/build-page b/build-page
index 92b3d1d9..d36bb5be 100755
--- a/build-page
+++ b/build-page
_AT_@ -107,7 +107,7 @@ printf '</ul>
</div>

'
 printf '<div id="main">
'
 if test -f "$page"
 then
- smu "$page"
+ smu < "$page"
 else
         printf '<ul>
'
         ls "${page%/index.md}" | while IFS= read -r dir
Received on Sat Sep 08 2018 - 19:22:15 CEST

This archive was generated by hypermail 2.3.0 : Sat Sep 08 2018 - 19:24:25 CEST