#!/bin/bash# your code goes hereecho "score=5,grade=d,pass=f," | sed 's/=[^,]*\(,$\|\)//g'echo "score=5,grade=d,pass=f," | sed 's/=[^,]*\|,$//g'
Standard input is empty
score,grade,pass score,grade,pass
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!