From 6878d51da723b9d2e918ef4a96cd794e57b851b3 Mon Sep 17 00:00:00 2001
From: Sergey Matveev <stargrave@stargrave.org>
Date: Wed, 22 Mar 2023 11:42:29 +0300
Subject: [PATCH] Another convenient replacement
---
torn.zsh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/torn.zsh b/torn.zsh
index 7c2876c..4d8bcd7 100755
--- a/torn.zsh
+++ b/torn.zsh
@@ -52,6 +52,8 @@ tornm() {
local n=$1
n=${n:gs/ /_}
n=${n//_[â-]_/-}
+ n=${n//_[â-]/-}
+ n=${n//[â-]_/-}
n=${n:gs/,_/,}
n=${n//[\[\]]/}
n=${n:gs/_(/(}
--
2.51.0