Parse : Fix CamelCase to be like XmlHttpClient.
This commit is contained in:
parent
72d904dfa2
commit
ec91fbef54
|
@ -18,10 +18,11 @@ function parse_camel() {
|
||||||
local result
|
local result
|
||||||
|
|
||||||
for part in "${parts[@]}"; do
|
for part in "${parts[@]}"; do
|
||||||
local word="${part^}"
|
local word="${part,,}"
|
||||||
|
word="${word^}"
|
||||||
result="${result}${word}"
|
result="${result}${word}"
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "${result}"
|
echo "${result}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue