fork download
  1. #!/bin/bash
  2. # your code goes here
  3. echo "score=5,grade=d,pass=f," | sed 's/=[^,]*\(,$\|\)//g'
  4. echo "score=5,grade=d,pass=f," | sed 's/=[^,]*\|,$//g'
Success #stdin #stdout 0s 5072KB
stdin
Standard input is empty
stdout
score,grade,pass
score,grade,pass