fork(1) download
  1. #!/bin/bash
  2. echo 'wahegru.com mail is handled by 1 ASPMX.L.GOOGLE.com. wahegru.com mail is handled by 10 ALT4.ASPMX.L.GOOGLE.com. wahegru.com mail is handled by 5 ALT1.ASPMX.L.GOOGLE.com. wahegru.com mail is handled by 10 ALT3.ASPMX.L.GOOGLE.com. wahegru.com mail is handled by 5 ALT2.ASPMX.L.GOOGLE.com.' | \
  3. grep -oP '(?<=10 )(\.*+\w)*+'
Success #stdin #stdout 0s 19632KB
stdin
Standard input is empty
stdout
ALT4.ASPMX.L.GOOGLE.com
ALT3.ASPMX.L.GOOGLE.com