fork(1) download
  1. #!/bin/bash
  2. echo "This (word1) is a test (word2) file." | sed "s/([^()]*)//g"
Success #stdin #stdout 0s 5076KB
stdin
Standard input is empty
stdout
This  is a test  file.