My question is pretty much the opposite of this: linux bash, camel case string to separate by dash
Pretty much looking to take some-string-like-this
to SomeStringLikeThis
.
Anyone got some sed
magic or other means of doing this easily?
As a side note, part of me thinks that as popular as Bash is, that there might be a library out there that could help with conversions like this... I haven't found one though. If you know of one, please let me know. e.g. a library that would handle common string manipulations/conversion between standard naming styles, such as spinal to underscore, underscore to camel, camel to spinal, etc.