diff options
author | onefang | 2021-08-26 06:21:19 +1000 |
---|---|---|
committer | onefang | 2021-08-26 06:21:19 +1000 |
commit | cdfbb899f1112dab44d5490838765e9bd73bc60e (patch) | |
tree | 52cddd0b76e7ad8544a0ada533f91bb5fc402025 /scripts/common.sh | |
parent | Still failing to reconnect for dbCount(), just set the fucking timeout to a y... (diff) | |
parent | Don't strip (OWNER) out of script error report. (diff) | |
download | opensim-SC-cdfbb899f1112dab44d5490838765e9bd73bc60e.zip opensim-SC-cdfbb899f1112dab44d5490838765e9bd73bc60e.tar.gz opensim-SC-cdfbb899f1112dab44d5490838765e9bd73bc60e.tar.bz2 opensim-SC-cdfbb899f1112dab44d5490838765e9bd73bc60e.tar.xz |
Merge branch 'switch' into Domme.
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 | ||