fork(2) download
  1. #!/bin/bash
  2. echo "[+]" | egrep -o "^\[([+*]|\+/\*|\*\/\+)\]"
  3. echo "[*]" | egrep -o "^\[([+*]|\+/\*|\*\/\+)\]"
  4. echo "[+/*]" | egrep -o "^\[([+*]|\+/\*|\*\/\+)\]"
  5. echo "[*/+]" | egrep -o "^\[([+*]|\+/\*|\*\/\+)\]"
Success #stdin #stdout 0s 19632KB
stdin
Standard input is empty
stdout
[+]
[*]
[+/*]
[*/+]