fork download
  1. #!/bin/bash
  2.  
  3. s="Text
  4. /* comment
  5. here */
  6. More text";
  7. sed '/\/\*/,/\*\//d' <<< "$s"
  8.  
Success #stdin #stdout 0s 4160KB
stdin
Standard input is empty
stdout
Text
More text