From 076741bc2aa25d5966b2741013c88360af3afc53 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 21 Dec 2021 14:22:26 +0300 Subject: [PATCH] Damned Unicode dash --- torn.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torn.zsh b/torn.zsh index 3ea8bec..511d544 100755 --- a/torn.zsh +++ b/torn.zsh @@ -48,7 +48,7 @@ tornt() { tornm() { local n=$1 n=${n:gs/ /_} - n=${n:gs/_-_/-} + n=${n//_[–-]_/-} n=${n:gs/,_/,} n=${n//[\[\]]/} n=${n:gs/_(/(} -- 2.44.0