mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Fix locale issues: use POSIX character classes instead of ranges
This commit is contained in:
parent
f081b05a97
commit
171e9e0d11
1 changed files with 1 additions and 1 deletions
|
@ -858,7 +858,7 @@ __unquote_string() {
|
|||
# DESCRIPTION: Convert 'CamelCased' strings to 'Camel Cased'
|
||||
#----------------------------------------------------------------------------------------------------------------------
|
||||
__camelcase_split() {
|
||||
echo "$*" | sed -e 's/\([^A-Z-]\)\([A-Z]\)/\1 \2/g'
|
||||
echo "$*" | sed -e 's/\([^[:upper:][:punct:]]\)\([[:upper:]]\)/\1 \2/g'
|
||||
}
|
||||
|
||||
#--- FUNCTION -------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue