#!/bin/bashv='{k1:v1,k2:v2,k3:v3,k4:v4,k5:v5,k6:v6,k7:v7,k8:v8};'echo "${v}" | sed -r 's/.{10}[^,]*,/&\n/g'
Standard input is empty
{k1:v1,k2:v2, k3:v3,k4:v4, k5:v5,k6:v6, k7:v7,k8:v8};
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!