#!/bin/bashs='1,2,5,32,67,28,40,30...2,4,90,18,22,40,20,15....'sed -E 's/(,[^,]*),/\1 /g' <<< "$s"
Standard input is empty
1,2 5,32 67,28 40,30... 2,4 90,18 22,40 20,15....
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!