Essentially, I would like to use sed to replace the whitespaces with underscores in the "yes" lines only.
Changing this...
...to this:Code:var x = [ { "yes":"a b c", "no":"a b c" }, { "yes":"d e f g h", "no":"d e f g h" } ];
Thanks for any guidance!Code:var x = [ { "yes":"a_b_c", "no":"a b c" }, { "yes":"d_e_f_g_h", "no":"d e f g h" } ];
Bookmarks