[WIP] Initial commit for qsgen3
This commit is contained in:
5
docs/zsdoc/data/functions/qsgen2/_file_to_lower
Normal file
5
docs/zsdoc/data/functions/qsgen2/_file_to_lower
Normal file
@ -0,0 +1,5 @@
|
||||
local filename="${1}"
|
||||
filename="${filename// /-}"
|
||||
filename=$(echo "${filename}" | sed -e 's/^[^a-zA-Z0-9_.]+//g' -e 's/[^a-zA-Z0-9_-]+/-/g')
|
||||
|
||||
echo ${filename}
|
Reference in New Issue
Block a user