Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Gather 'round

From: thundrebol::yahoo::com at: 11-May-2001 15:25

Thought I'd share a nice little REBOL story with the list. A couple of days ago a project landed in my lap where I needed to create and populate database of all websites on our large enterprise network, including rogue sites. Our IT department didn't have a master map, and they said that I'd have to wait several weeks before someone could even think about addressing the issue. Trying to get a leg-up on the problem, I spoke to the guy in charge of DNS who generated for me 75 text files containing 50,000 internal DNS entries. In about 1 minute, I whipped up a 10 line REBOL program to parse and scan the DNS listings and write a log of the servers that chirped back. I then made a few copies of the script so I could let REBOL divide and conquer the 50,000 addresses overnight. By the next morning, I had 90% of the entries needed for the database. Our team leaders were stunned. IT is convinced that I possess some very dark, powerful magic. Yep, packed in all of about 200KB. Have a good weekend, Ed