fork(1) download
  1. #!/bin/bash
  2. s="*one
  3. *two*
  4. .... *three* and more text here**"
  5. grep '\*[^*]*\*' <<< "$s"
Success #stdin #stdout 0s 4404KB
stdin
Standard input is empty
stdout
*two*
.... *three* and more text here**