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

[REBOL] Re: .log to .csv conversion

From: tomc:darkwing:uoregon at: 15-Mar-2001 21:59

I would keep it simpler this is not tested but something like would work given a file with format sub.domain.dom sub.domain.dom1 sub.domain.dom2 ... dns-cache: parse none foreach ip log [ either none? domain-address: select dns-cache ip [append dns-cache ip append dns-cache either none? domain-address: read join dns:// ip [domain-address: ip] [domain-address] ] [domain-address] use yer domain-address ] at the end to save I would probably just clobber the old dns-cache file buffer copy "" foreach [a b] dns-cache [append buffer rejoin [a "^-" b "^/"]] write buffer On Thu, 15 Mar 2001 [ryan--christiansen--intellisol--com] wrote: