fork download
  1. #!/bin/bash
  2. echo "instream(10.20.213.11@40266):" | \
  3. sed -E 's/.*\b([0-9]+(\.[0-9]+){3})\b.*/\1/'
  4. # => 10.20.213.11
Success #stdin #stdout 0.01s 5420KB
stdin
Standard input is empty
stdout
10.20.213.11