diff --git a/document/linux/config/bash/module/name.sh b/document/linux/config/bash/module/name.sh index e1e61a2..1887ea7 100644 --- a/document/linux/config/bash/module/name.sh +++ b/document/linux/config/bash/module/name.sh @@ -18,7 +18,7 @@ name() # extract new name. new_name=$(echo "$file" | \ - sed -e "s/[^[:alnum:]\.-]/_/g" \ + sed -e "s/[^[:alnum:]\.]/_/g" \ -e "s/_\+/_/g" )