We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0d8ca14 + 4fde88a commit ab4b774Copy full SHA for ab4b774
other/tools/run_protoc.sh
@@ -24,7 +24,7 @@ command -v protoc-gen-mavsdk > /dev/null || {
24
}
25
26
function snake_case_to_camel_case {
27
- echo $1 | sed -r 's/(^|_)([a-z])/\U\2/g'
+ echo $1 | awk -v FS="_" -v OFS="" '{for (i=1;i<=NF;i++) $i=toupper(substr($i,1,1)) substr($i,2)} 1'
28
29
30
function generate {
0 commit comments