aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/common.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xscripts/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/common.sh b/scripts/common.sh
index 6aeb8b5..75aebb0 100755
--- a/scripts/common.sh
+++ b/scripts/common.sh
@@ -36,7 +36,7 @@ num2name()
36# name=$(sanitize "the name") 36# name=$(sanitize "the name")
37sanitize() 37sanitize()
38{ 38{
39 echo "$1" | sed -e 's/[\\/:\*\?"<>\|@#$%&\0\x01-\x1F\x27\x40\x60\x7F. ]/_/g' -e 's/^$/NONAME/' 39 echo "$1" | sed -e 's/[\\/:\*\?"<>\|@#$%&\x01-\x1F\x27\x40\x60\x7F. ]/_/g' -e 's/^$/NONAME/'
40} 40}
41 41
42 42