fork(1) download
  1. while (<DATA>) {
  2. print if /^\w+\s+\w+[.]\w+[.]\w+$/;
  3. }
  4.  
  5. __DATA__
  6. gis.google.com
  7. CAT
  8. DOG
  9. gis1.goole.com
  10. CAT gis.google.com
  11. gis.google.com DOG
  12.  
Success #stdin #stdout 0s 3564KB
stdin
Standard input is empty
stdout
CAT gis.google.com