Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconvert.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/convert.sh b/convert.sh
index 0663566..f2f7191 100755
--- a/convert.sh
+++ b/convert.sh
@@ -77,6 +77,9 @@ sed '
P
D
' | \
+sed '
+ s@\(\s\)\(https\?://\S\+\)@\1<a href="\2" target="_blank">\2</a>@g
+' | \
while read -r a b dummy c; do
if [ "${dummy}" != '|' ]; then
>&2 printf 'wrong dummy "%s"\n' "${dummy}"