fork download
  1. #!/bin/bash
  2. test="100 ***
  3. 10 ** // target"
  4. grep -E '(^|[^*])\*{2}($|[^*])' <<< "$test"
Success #stdin #stdout 0s 19632KB
stdin
Standard input is empty
stdout
10 ** // target