# torn - Musical files renaming with russian language transliteration
-# Copyright (C) 2007-2021 Sergey Matveev (stargrave@stargrave.org)
+# Copyright (C) 2007-2023 Sergey Matveev (stargrave@stargrave.org)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
tornm() {
local n=$1
n=${n:gs/ /_}
- n=${n:gs/_-_/-}
+ n=${n//_[–-]_/-}
n=${n:gs/,_/,}
n=${n//[\[\]]/}
n=${n:gs/_(/(}