리눅스 snake case를 camelCase로 변환

1 개요[ | ]

리눅스 snake_case를 camelCase로 변환
Console
Copy
testuser@localhost:~$ echo "hello_world_lorem_ipsum" | sed -r 's/_(.)/\U\1/g'
helloWorldLoremIpsum
Console
Copy
testuser@localhost:~$ echo "hello_world_lorem_ipsum" | sed -r 's/_([a-z])/\U\1/g'
helloWorldLoremIpsum

2 같이 보기[ | ]

3 참고[ | ]