diff options
Diffstat (limited to '')
-rwxr-xr-x | scripts/common.sh | 2 |
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") |
37 | sanitize() | 37 | sanitize() |
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 | ||