diff --git a/document/linux/config/bash/module/name.sh b/document/linux/config/bash/module/name.sh index 4240d2d..125cc8e 100644 --- a/document/linux/config/bash/module/name.sh +++ b/document/linux/config/bash/module/name.sh @@ -21,7 +21,7 @@ name() sed -e "s/ /_/g" \ -e "s/[^[:alnum:]\._-]//g" \ -e "s/_\+/_/g" -e "s/\.\+/\./g" -e "s/-\+/-/g" \ - -e "s/_-/_/g" -e "s/-_/_/g" -e "s/\.-/_/g" -e "s/-\./_/g" -e "s/\._/_/g" -e "s/_\./_/g" \ + -e "s/_-/_/g" -e "s/-_/_/g" -e "s/\.-/\./g" -e "s/-\./\./g" -e "s/\._/\./g" -e "s/_\./\./g" \ -e "s/_\+/_/g" \ -e "s/^_//" -e "s/_$//" )