fork(2) download
  1. #!/bin/bash
  2. s='/* Title */
  3. "home.title" = "Welcome";
  4.  
  5. /* Email */
  6. "home.signup_email" = "Email";
  7.  
  8. /* recover_email */
  9. "home.signup_email_recover" = "Recover Email";
  10.  
  11. /* password */
  12. "home.password" = "Enter your __Password__:";
  13.  
  14. /* One more string */
  15. "my_string_key" = "[Click here](https://m...content-available-to-author-only...l.com/deeplink?id=UUID&section_id=foo)";'
  16. sed ':a;s/^\([^=]*\)_\([[:alpha:]]\)/\1\U\2\E/;ta' <<< "$s"
  17.  
Success #stdin #stdout 0.01s 5384KB
stdin
Standard input is empty
stdout
/* Title  */
"home.title" = "Welcome";
 
/* Email  */
"home.signupEmail" = "Email";
 
/* recoverEmail  */
"home.signupEmailRecover" = "Recover Email";
 
/* password  */
"home.password" = "Enter your __Password__:";

/* One more string */
"myStringKey" = "[Click here](https://m...content-available-to-author-only...l.com/deeplink?id=UUID&section_id=foo)";