From b18302253c93727b28da8d128fbb204c21b62815 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 7 Jun 2021 20:58:10 +0200 Subject: Add UNIX support --- emparse | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emparse') diff --git a/emparse b/emparse index ed3a4c7..9594f82 100755 --- a/emparse +++ b/emparse @@ -191,9 +191,9 @@ function item(level, type, line) { printf "
  • " } if (type == "ol") { - match($0, "[0-9a-z]+\.") + match($0, "[0-9a-z]+\\.") v = substr($0, RSTART, RLENGTH-1) - sub("^ +[0-9a-z]+\. ", "") + sub("^ +[0-9a-z]+\\. ", "") listvalid(v) printf "
  • ", listnum(v), listtype(v) } -- cgit v1.2.3